Linterna Magica Installation
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hallo,
I was watching Youtube videos using the html5 player so far but for a few days now my computer has just been freezing when I tried to watch any of them. I thought it might have been something wrong with my computer so I reinstalled everything from a fresh live image.... the problem is still there. Now I want to use Linterna Magica instead.
I have never managed to understand how to install anything without using the repositories though. I must be doing something wrong...
Here is what I did so far.
1. I downloaded and installed the Greasemonkey add on for the web browser
2. I downloaded linterna magica stable version from their website to my desktop. There is a file on my desktop now: linternamagica-v0.0.9-7.user.js.bz2
3. I right clicked this file and clicked "extract here" - after that I had another file on the desktop called linternamagica-v0.0.9-7.user.js
This is how far I got...
after that according to my fsf.org commandline manual I should change to the directory containing that file called linternamagica-v0.0.9-7.user.js
then type ./configure
I never get to change to that directory though:
sascha@TelAviv:~$ cd ~/Desktop
sascha@TelAviv:~/Desktop$ ls
linternamagica-v0.0.9-7.user.js linternamagica-v0.0.9-7.user.js.bz2
sascha@TelAviv:~/Desktop$ cd ./linternamagica-v0.0.9-7.user.js
bash: cd: ./linternamagica-v0.0.9-7.user.js: Not a directory
sascha@TelAviv:~/Desktop$
What is my mistake?
I'm not sure how to install linterna magica, but you should try the FlashVideoReplacer plugin. It uses a videoplayer plugin for firefox to display the video files. Works with youtube very well.
How do you use the html5 player on youtube? Do you have the WebBroswer from Trisquel, or something else? I don't think the WebBrowser supports html5 yet. I'm using GNU IceCat 5 with the html5 player, and the videos that don't work with that are played with the FlashVideoReplacer.
The FVR can be easily installed from the addons page for Trisquel.
Thank you very much, but it's not working for me, it is already preinstalled on the image anyways. And I really have to learn how to install software on Linux. I really want to try Linterna Magica and be it only to understand how installing software works.
If you want to try flash video replacer what I would do is uninstall the version that comes pre-installed in synaptic and install the version from the website. That add-on gets updated often. (https://addons.mozilla.org/en-US/firefox/addon/flashvideoreplacer/)
Also what browser are you using to watch the html5 video? I'm using GNU Icecat and I haven't had any freezing problems. Just curious. Also what version are you using?
Linterna magica is a userscript and doesn't need steps like configure. If u have installed greasemonkey correctly, u just have to click on the link to the uncompressed script and it should automatically get installed. :)
thank you very much mate. silly me...
still - on the linterna magica website it says that since a certain version you need to build it. and in order to do that you also have to change to the directory containing the uncompressed file so that leaves me hanging at the same step as above...
Here is what they write on their website:
Building the user script
Since version 0.0.9 of Linterna Mágica the userscript have to be build. To do this you will need the following packages:
* GNU make
* GNU sed
* GNU grep
* GNU bash
* GNU Coreutils
o ls; cp; rm; cat; tac; head; tail; cut; tr; sort; uniq; base64; basename; mktemp; test; echo; chmod
To build the userscript, inside a terminal change the directory to the source code directory of Linterna Mágica and type:
make
If everything went fine, at the end of the building process you should see the following message:
"
linternamagica.user.js is ready.
"
To remove all the generated files without the userscript, type:
make clean
To remove all the generated files and the userscript file, type:
make distclean
В 19:19 +0200 на 30.07.2011 (сб), name at domain написа:
> Linterna magica is a userscript and doesn't need steps like configure.
Yes, but requires make, if you've downloaded the source tarball.
Think of the userscript I am providing at the website as a binary.
I tried the manual in the terminal for make. It says that for this command to work you first have to write a makefile. wtf is that smile?
Try to install the pacakage build-essential first. This is needed in order to compile packages. Also you might need development libraries, e.g. for Pidgin you will need pidgin-dev.
Anyway, flash video replacer doesn't work for me either so I'm using linterna magica as well. I just installed greasemonkey and went to the linterna magica website and clicked download userscript (not compressed). It works great.
Installing software in GNU/Linux without the repositories is supposed to be the last resort. It is not recommended at all. It's the side effect of having lots of different distributions - some programs are not packaged the right way, so you need to build them from source. They won't be integrated in the OS as good as the stuff the native package manager has installed.
With Trisquel you have a distro that can use Ubuntu packages. It is a good thing, since Ubuntu is one of the most popular distributions of GNU/Linux and has probably the most programs packaged for it.
As mentioned above Linterna Magica is just a userscript, not a real program that you would need to build and install through configure, make, install.
Actually if you need newer versions of software packages you must compile from source or add a PPA (or install a newer release of Trisquel) as Ubuntu does not backport newer versions of software packages to older releases. For example the last long term release of Trisquel (4.0) has an old version of Lyx which is not compatible with files created using the newer version. Compiling the newest version from source (or upgrading Trisquel) solves this problem.
Mate - I just posted the documentation of linternamagica where it says that you do need to build it.
The documentation of linterna magica says, that "Since version 0.0.9 of Linterna Mágica the userscript have to be build". I thought it was just a script for greasemonkey?
В 21:08 +0200 на 30.07.2011 (сб), name at domain написа:
> The documentation of linterna magica says, that "Since version 0.0.9 of
> Linterna Mágica the userscript have to be build". I thought it was just a
> script for greasemonkey?
Yes it is. But for development purposes all the source is kept in
separate JavaScript, image and CSS files. All these are combined in a
single userscript file with comments stripped, that Greasemonkey could
use. Before that, everything was kept in a single JavaScript file and
turned out to be a little nightmare.
Guys beat me... it was so simple.. I didn't download the correct files from the linterna website... once that was done building and installing was easy, just as described in the website documentation. It is great! much better than html5 was (when it still worked). I think there is a bug in the browser that prevents html5 from working.....
I had only downloaded the first link....userscript. once i downloaded source code and documentation too (both to my desktop)and typed make, then make clean, then installed it from my browser with greasemonkey it worked...
В 18:42 +0200 на 30.07.2011 (сб), sascharehberg[@nospam] написа:
> 2. I downloaded linterna magica stable version from their website to my
> desktop. There is a file on my desktop now:
> linternamagica-v0.0.9-7.user.js.bz2
>
> 3. I right clicked this file and clicked "extract here" - after that I had
> another file on the desktop called linternamagica-v0.0.9-7.user.js
>
> This is how far I got...
In that case, you just had to open the directory where the extracted
linternamagica-v0.0.9-7.user.js was (or the file itself), with GNU
IceCat (with Greasemonkey installed). Then you had to click the
userscript in the browser to start the installation.
// Off topic
To all, nothing personal.
Btw, Linterna Mágica has it's own mailing list (for months), but
virtually no subscribers. I guess, no issues needed discussion. It might
be a good idea to point users and their future questions about Linterna
Mágica to the project's mailing list (linterna-magica-users at
nongnu.org). I think it is not a good idea Trisquel's hospitality to be
abused by a project that is not a sub project, nor included in it. At
least that is my opinion. Thank you.
I disagree. Ubuntu forums are frequently used to discuss issues with of concern to all Ubuntu users. How to make videos work on Trisquel is a vital concern for all of us.
Especially given that the web browser doesn't support HTML5 properly. I just ran this test for html5 compatibilty and the results are not good
Your browser scores
179
and 4 bonus points
out of a total of 450 points
* Parsing rules1/11
triggers standards mode Yes ✔
HTML5 tokenizer No ✘
HTML5 tree building No ✘
HTML5 defines rules for embedding SVG and MathML inside a regular HTML document. Support for SVG and MathML is not required though, so bonus points are awarded if your browser supports embedding these two technologies.
SVG in text/html No ✘
MathML in text/html No ✘
* Canvas20
canvas element Yes ✔
2D context Yes ✔
Text Yes ✔
* Video2 Bonus points21/31
video element Yes ✔
Subtitle support No ✘
Poster image support Yes ✔
The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more video codecs, two bonus points are awarded for each codec.
MPEG-4 support No ✘
H.264 support No ✘
Ogg Theora support Yes ✔
WebM support No ✘
* Audio2 Bonus points20
audio element Yes ✔
The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more audio codecs, one bonus point is awarded for each codec.
PCM audio support Yes ✔
MP3 support No ✘
AAC support No ✘
Ogg Vorbis support Yes ✔
WebM support No ✘
* Elements4/28
Embedding custom non-visible data No ✘
New or modified elements
Section elements No ✘
section element No ✘
nav element No ✘
article element No ✘
aside element No ✘
hgroup element No ✘
header element No ✘
footer element No ✘
Grouping content elements No ✘
figure element No ✘
figcaption element No ✘
Text-level semantic elements Partial ○
mark element No ✘
ruby element No ✘
rt element No ✘
rp element No ✘
time element No ✘
wbr element Yes ✔
Interactive elements Partial ○
details element No ✘
summary element Yes ✔
command element No ✘
menu element Yes ✔
Global attributes or methods
hidden attribute No ✘
Dynamic markup insertion No ✘
outerHTML property No ✘
insertAdjacentHTML function No ✘
* Forms4/98
Field types
input type=search No ✘
Minimal element support No ✘
input type=tel No ✘
Minimal element support No ✘
input type=url No ✘
Minimal element support No ✘
Field validation No ✘
input type=email No ✘
Minimal element support No ✘
Field validation No ✘
input type=datetime No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=date No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=month No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=week No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=time No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=datetime-local No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=number No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
Field validation No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=range No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
min attribute No ✘
max attribute No ✘
step attribute No ✘
stepDown() method No ✘
stepUp() method No ✘
input type=color No ✘
Minimal element support No ✘
Custom user-interface No ✘
Value sanitization No ✘
Field validation No ✘
input type=checkbox Yes ✔
Minimal element support Yes ✔
indeterminate property Yes ✔
input type=image Partial ○
Minimal element support Yes ✔
width property No ✘
height property No ✘
textarea Partial ○
Minimal element support Yes ✔
maxlength attribute No ✘
wrap attribute No ✘
select Partial ○
Minimal element support Yes ✔
required attribute No ✘
fieldset Partial ○
Minimal element support Yes ✔
elements attribute No ✘
disabled attribute No ✘
datalist No ✘
Minimal element support No ✘
list attribute for fields No ✘
keygen Partial ○
Minimal element support Partial ○
challenge attribute No ✘
keytype attribute No ✘
output No ✘
Minimal element support No ✘
progress No ✘
Minimal element support No ✘
meter No ✘
Minimal element support No ✘
Fields
Field validation No ✘
pattern attribute No ✘
required attribute No ✘
Association of controls and forms No ✘
control property on labels No ✘
form property on fields No ✘
formAction property on fields No ✘
formEnctype property on fields No ✘
formMethod property on fields No ✘
formNoValidate property on fields No ✘
formTarget property on fields No ✘
labels property on fields No ✘
Other attributes Partial ○
autofocus attribute No ✘
autocomplete attribute No ✘
autofocus attribute No ✘
placeholder attribute No ✘
multiple attribute Yes ✔
dirname attribute No ✘
CSS selectors No ✘
:valid selector No ✘
:invalid selector No ✘
:optional selector No ✘
:required selector No ✘
Events Partial ○
oninput event Yes ✔
onchange event Yes ✔
oninvalid event No ✘
Forms
Form validation No ✘
checkValidity method No ✘
noValidate attribute No ✘
* User interaction33/36
Drag and drop
Attributes Partial ○
draggable attribute Yes ✔
dropzone attribute No ✘
Events Yes ✔
ondrag event Yes ✔
ondragstart event Yes ✔
ondragenter event Yes ✔
ondragover event Yes ✔
ondragleave event Yes ✔
ondragend event Yes ✔
ondrop event Yes ✔
HTML editing
Editing elements Partial ○
contentEditable attribute Yes ✔
isContentEditable property No ✘
Editing documents Yes ✔
designMode attribute Yes ✔
APIs Yes ✔
execCommand method Yes ✔
queryCommandEnabled method Yes ✔
queryCommandIndeterm method Yes ✔
queryCommandState method Yes ✔
queryCommandSupported method Yes ✔
queryCommandValue method Yes ✔
* History and navigation0/5
Session history No ✘
* Microdata0/15
Microdata No ✘
* Web applications20
Application Cache Yes ✔
Custom scheme handlers Yes ✔
Custom content handlers Yes ✔
Custom search providers Yes ✔
* Security0/10
Sandboxed iframe No ✘
Seamless iframe No ✘
Related specifications
* Geolocation15
Geolocation Yes ✔
* WebGL0/25
3D context No ✘
Native binary data No ✘
ArrayBuffer No ✘
ArrayBufferView No ✘
Int8Array No ✘
Uint8Array No ✘
Int16Array No ✘
Uint16Array No ✘
Int32Array No ✘
Uint32Array No ✘
Float32Array No ✘
Float64Array No ✘
DataView No ✘
* Communication5/25
Cross-document messaging Yes ✔
Server-Sent Events No ✘
Both Mozilla and Opera do support the WebSocket protocol in their latest browsers, but have disabled it due to a fundamental security issue with the protocol. Once the protocol has been updated it is expected they will re-enable this feature.
WebSocket No ✘
* Files10/20
FileReader API Yes ✔
FileWriter API No ✘
* Storage10/20
Session Storage Yes ✔
Local Storage Yes ✔
IndexedDB No ✘
The Web SQL Database specification is no longer being updated and has been replaced by IndexedDB. Because at least 3 vendors have shipped implementations of this specification we still include it in this test.
Web SQL Database No ✘
* Workers10/15
Web Workers Yes ✔
Shared Workers No ✘
* Local multimedia0/20
Access the webcam No ✘
* Notifications0/10
Web Notifications No ✘
* Other6
Text selection Yes ✔
Scroll into view Yes ✔
* Not available
* Badly
* Reasonable
* Good
* Great
sascha, there is a reason why Mozilla doesn't support H.264 - it is because H.264 is patent-encumbered.
Anyway, if you want WebM support I advise you to get the IceCat browser as it uses a newer version of Mozilla browser. If you also want H.264 playback perhaps you should try a WebKit based browser like Midori
Also, I thought the problem you were having was flash not working on Youtube via Gnash and Flash Video Replacer and not HTML5 compatibility. Youtube doesn't deliver all its videos in HTML5 yet and only a small subset of the videos provided in HTML5 are available in WebM.
Thank you Aloniv. You're right my problem is that I'm not able to watch videos on the Internet as much as I'd like to. I therfor joined the youtube html5 trial which worked a few days but stopped working 2 days ago when all of a sudden the browser kept freezing everytime you'd want to watch a video on youtube. That is why I wanted to install this linterna thing. I will try the borwoser you suggested thank you!
GNU Icecat is actually going to be the default browser in the next version of Trisquel 5.
Currently it isn't included in the repos but you can install it via PPA here (https://launchpad.net/~gnuzilla-team/+archive/ppa). It supports webM while the current abrowser does not.
It is also based off Mozilla Firefox (version 5) so you should feel fairly comfortable using it.
I installed icecat. It scores a lot better on the html5 test than the browser that comes with the iso.
sascha, did you try the latest version of FlashVideoReplacer (which works with Youtube)?
It is available here (just download to your computer then open with your Mozilla based browser via File -> Open):
http://www.webgapps.org/add-ons/flashvideoreplacer/download-firefox
"It might
be a good idea to point users and their future questions about Linterna
Mágica to the project's mailing list (linterna-magica-users at
nongnu.org). I think it is not a good idea Trisquel's hospitality to be
abused by a project that is not a sub project, nor included in it."
I am really surprised and angry about the accusation of abusing this forum. Obviously this is right where it belongs or we wouldn't have an entire webpage devoted on ways around using flash player. I believe that I did everything I could in this forum to write things up in a way that is understandable to all.
Hey Sascha,
I just wanted to let you know I find no problem with you asking your question here. I am a memember of the documentation team (de facto leader since all other members are inactive) and I have worked on this part of the documentation about viewing video without flash and using HTML5 (https://trisquel.info/en/wiki/play-videos-without-using-flash). I think your question is appropriate since we have documentation on Linterna Mágica. I will note that I did not write that section and a former member of the documentation did but still the program is mentioned in our documentation so I think asking a question about a program that we have mentioned to users they can use is totally valid.
Also as far as policy regarding if you were asking in the right place (I think you did nothing wrong) this is actually something I've been meaning to talk to quidam about as the community grows. Maybe having a basic set of rules for the forums. Something along the lines of
*Keep it PG (while I support free speech we may have younger kids here and this is a privately owned website)
*Other basic forum rules
Maybe we could also open a subforum just for support questions and have a separate one for discussion.
Also while I can't speak for ivaylo I think he was speaking more in general. Either way it's just one persons opinion about where the project should go / handle itself. If you have any feedback contact me at (https://trisquel.info/en/users/sirgrant) and I'll try to mention it to the boss. Maybe we can get some basic forum rules set out. Appriciate it.
I second that idea of opening a subforum on rules. BUT I remember full well what it was like when I first got on the Ubuntu Forums. When you're new to Linux everything is rather overwhelming and it takes a few months for people to understand that posting a question in a forum is not just for them but for future readers too. It is very frustrating for newbies to be rebutted with a question or told of for using the wrong thread when they don't understand the concept of a forum or how to navigate around them properly (I still haven't figured that out for the ubuntuforums totally really). I remember grilling my computer and being unable to install Ubuntu for example because the first thing I had to do was edit a grub file (not exactly the first thing you'd want to do with no knowledge of linux) - on top of that you got angry remarks for posting in the wrong forum or whatever- understandable but really not what the panicy newby is worried about in the beginning... So it is important that advice on how to use the forum comes in the form of a gentle remark not an accusation.
How I understand it, a user
-should check if his question has already been posted before
- write it up so that others can follow
- once he has figured the problem out make a write up of the solution that others can benefit from in terms as easy to understand as possible (that is in my view the price for the help you get in the forum)
- not "hijack" a thread by changing the topic to find an answer to a different problem
- mark the thread as solved in the end (I don't find that functionality on here...) how do you close a thread?
Will you open that new subthread sirgrant? BTW I loved your documentation site - thank you.
Actually that was on my first-draft list. Having a rule something along the lines of don't bite the new people. Wikipedia has a similar rule (https://secure.wikimedia.org/wikipedia/en/wiki/Wikipedia:Please_do_not_bite_the_newcomers). I know how hard being a new user is.
Unfortunately I don't have admin powers regarding the message board so I don't have the power to create stickies or make new forums (or close threads). I can however talk to the person who does. It might take me a few days because he lives in Spain and I live in America so our timezones don't quite overlap that much. But I think it might be a good idea to have two forums (one technical one discussion) for our community size.
Also thanks for the compliment although I didn't write the whole manual. I only wrote part of it and I still need to clean it up a bit. Also I think your main problem with the video is you are probably using abrowser which currently is at version 3.6 (not supporting webM) but GNU Icecat does so I really think trying that browser will help you with your youtube problem. Check it out (as mentioned above). There are also more manuals here (https://trisquel.info/en/wiki/manuals). Some are incomplete because I have a full time job and also work per diem at another so I only have so much free time. But the manuals do get better as we go along.
В 09:01 +0200 на 31.07.2011 (нд), name at domain написа:
> "It might
> be a good idea to point users and their future questions about Linterna
> Mágica to the project's mailing list (linterna-magica-users at
> nongnu.org). I think it is not a good idea Trisquel's hospitality to be
> abused by a project that is not a sub project, nor included in it."
>
> I am really surprised and angry about you accusing me of abusing this forum.
No, that is not what I said! I've said it is not pointed at you, after
I've said it is an off topic. I just used the context. You are
overreacting. It was just my opinion what is good for a project, and
what is not (using other projects infrastructure). It was a suggestion,
not a demand. OK, "abuse" might have been a strong word. I'm sorry.
> Who do you think you are? The web censor?
I am not in any position to censor. That was just an opinion. You might
disagree (as I see). It is up to the community to decide to listen to my
suggestion or not.
> I am more under the impression you
> are hiding the wish to have more subscribers on your mailing list behind the
> concern for Trisquel's mailing list.
Believe me I will win nothing by attracting more subscribers, and then
moderate their messages. The project is taking a lot of my time anyway.
My concern had no back thoughts at all.
I understand Ivaylo, sorry. I overreacted you're right - which is why I edited my initial remark before you answered;)
- Vous devez vous identifier ou créer un compte pour écrire des commentaires