Kubuntu Breezy - Absolute beginners

Montag, Oktober 24, 2005

Setting up Firefox IV and V

Update: instead of following this howto you could also try out Automatix.

IV. To install mplayerplug-in you can follow this HowTo. Since it is in French, I translate it here:
Open a terminal. Type
sudo apt-get install mozilla-dev libxpm-dev libgtk2.0-dev
sudo apt-get install build-essential checkinstall
sudo apt-get install mplayer-586 w32codecs

It can happen that the w32codecs are not avaible. Then just download them from here.
To install them type:
sudo dpkg -i w32codecs_20050412-0.0_i386.deb

Then go back to your home:
cd

Get the latest version of mplayer with
wget http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-3.11.tar.gz

Decompress the archive:

tar -xvzf mplayerplug-in-3.11.tar.gz

Download the source of Mozilla Gecko (usually:gecko-sdk-i686-pc-linux-gnu-1.7.11.tar.gz) from here.

Decompress the archive:
tar -xvzf gecko-sdk-i686-pc-linux-gnu-1.7.11.tar.gz

Now you need to compile mplayer. Enter the commands (as usual one after the other):

cd mplayerplug-in
./configure --with-gecko-sdk=../gecko-sdk
make

Now copy the generated files into the directories:
sudo cp mplayerplug-in*.so /usr/lib/mozilla-firefox/plugins
sudo cp mplayerplug-in*.so /usr/lib/mozilla/plugins
sudo cp mplayerplug-in*.xpt /usr/lib/mozilla-firefox/components
sudo cp mplayerplug-in*.xpt /usr/lib/mozilla/components
sudo cp mplayerplug-in.types /etc
sudo cp mplayerplug-in.conf /etc

Now we need to configure the Mplayer Plugin.
sudo gedit /etc/mplayerplug-in.conf

Change the file. It should look like that now:

#debug=0
#logfile=$HOME/mpp.log
vo=xv,x11
ao=esd,oss,arts
#download=1
#dload-dir=$HOME/tmp
#keep-download=0
#noembed=0
cachesize=1024
#use-mimetypes=0
#enable-real=0
#enable-wm=1
#enable-qt=1
#enable-mpeg=1
#enable-ogg=1
#enable-smil=1
#qt-speed=med
#rtsp-use-tcp=0
#nomediacache=0
#framedrop=0
#autosync=0
#mc=1
#black-background=0
#user-agent=NSPlayer


Save and close the file.
Restart Firefox - mplayer should work now.

V. Realplayer. First of all, we need to download Realplayer from here.
Change the file for it to be executable:
chmod 777 RealPlayer10GOLD.bin

Then install it:
sudo ./RealPlayer10GOLD.bin
You can choose a directory where you want to have it installed. You can just leave it in your home (but do not delete it afterwards!).

Open firefox and type as URL: about:plugins
Now firefox will show you the installed plugins and the files which are associated to them. If the .rm / .rpm / .ram - files are associated to the mplayer (and not to RealPlayer) close firefox and do the following:
cd /usr/lib/mozilla-firefox/plugins
sudo mv mplayerplug-in-rm.so mplayerplug-in-rm.so_backup
cd /usr/lib/mozilla-firefox/components
sudo mv mplayerplug-in-rm.xpt mplayerplug-in-rm.xpt_backup

cd /usr/lib/mozilla/plugins
sudo mv mplayerplug-in-rm.so mplayerplug-in-rm.so_backup
cd /usr/lib/mozilla/components
sudo mv mplayerplug-in-rm.xpt mplayerplug-in-rm.xpt_backup
Restart Firefox.

To test your plugins:
Java
Flash (if the page loads correctly your flash is fine)
Mplayer
Realplayer sound - Realplayer Video

If you're having a stottering sound with some live-streams on Mplayer, rightlick on it --> configure --> audio output oss (NOT Alsa).

0 Comments:

Kommentar veröffentlichen

Links to this post:

Link erstellen

<< Home