TIP Firefox Plugins
From Gentoo Linux Wiki
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
This article is still a Stub. You can help Gentoo-Wiki by expanding it.
Plugins for use with Firefox
Contents |
[edit] Warning to system upgrades after installing plugins!
If you enable the nsplugin which replaces the mozilla flag in /etc/make.conf. when you go to update programs (ie. emerge -uD world) you could have unwanted apps creating plugins. For example on my machine I use gnome and mplayer, emerge updated totem with the nsplugin flag and totem became my new movie plugin. To fix it do:
# echo "media-video/totem -nsplugin" >> /etc/portage/package.use && emerge totem
[edit] Flash
If you can't install Macromedia Flash plugin try the following command as root:
# chgrp wheel /usr/lib/nsbrowser/plugins/
or do it the Gentoo way (-av so it shows USE flags and asks to proceed):
# emerge netscape-flash -av
If you are running on an amd64, you also need nspluginwrapper:
# emerge nspluginwrapper -av
If the plugin plays videos and such, but does not produce sound, try this (as root):
# ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
Create the following directory and file (as user):
# mkdir /tmp/.esd # touch /tmp/.esd/socket
Don't forget to start the Enlightment Sound Daemon and add it to the default runlevel (as root).
# /etc/init.d/esound start # rc-update add esound default
Restart your firefox. If that didn't help, you will want to try out Flash 9 Beta from labs.adobe.com. This is also the way to go if you're testing Firefox 2.
[edit] Adobe Acrobat Reader 7.0.1.1
Make sure you have nsplugin set in your /etc/make.conf file and do
# emerge -av acroread
make sure it says +nsplugin not -nsplugin so that it looks like this:
| Code: |
These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-text/acroread-7.0.1.1 +ldap +nsplugin 0 kB Total size of downloads: 0 kB |
If you have problems with the pdf being displayed correctly then load acroread and change the dpi setting in the preferences menu
[edit] Acrobat Reader External Links
[edit] gxine 0.4.9 for audio/video stream
Make sure you have nsplugin set in your /etc/make.conf file and do
# emerge -av gxine
make sure it says +nsplugin not -nsplugin so that it looks like this:
| Code: |
These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/gxine-0.4.9 -lirc +nls +nsplugin 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] |
Now make symlinks in /opt/netscape/plugins to the libraries in /usr/lib/gxine and you are ready to go. Note that gxine will by default play videos as 50% size. Just go into gxine's preferences the first time you play a video and change that to be 100%.
[edit] mplayer-1.0_pre7-r1 for audio/video stream
Version 1.0_pre7-r1 and 3.11 are in the ~x86 branch, the stable branch should work also. I would also recommend only installing one package for audio/video stream, installing more than one could cause problems.
# emerge -av mplayerplug-in
[edit] mplayerplug-in External Links
[edit] firebug
(Firebug) is an excellent plugin for Ajax development. In order to get it working, compile firefox with use flag mozdevelop. Source: Firebug group.
