I've always hated the MPlayer GUI, but could never bring myself to change players because I like having the controls and the movie seperated. After a little bit of googling, I managed to find a patch for the newest version. This is a very simple HOWTO, and I've also included how to compile the mplayer plugin with GTK2, which requires no patching.
Lets start off with the essentials, the source, and the build tools (for those who have never compiled before)
You can grab the source from here ftp://ftp.mplayerhq.hu/MPlayer/relea...e7try2.tar.bz2.
Once that has downloaded, extract it by either opening nautilus and browsing to it's location and opening it with archive manager, or run this command.
Code:
tar xjfv MPlayer-1.0pre7try2.tar.bz2
Once thats extracted we'll get all the dependencies and build tools, although if you're reading this it's possible you've used MPlayer before and hate the GTK1 GUI as much as I did.
Code:
sudo apt-get install build-essential
sudo apt-get install gcc-3.4
sudo apt-get install libx11-dev
sudo apt-get install libxv-dev
sudo apt-get install libpng12-0
sudo apt-get install libpng12-dev
sudo apt-get install checkinstall
sudo apt-get install libavcodec-dev
and any other codecs you need
Now, one more thing to download, the patch from here http://seethrubuntu.ath.cx/MPlayer-1...gtk2.patch.bz2
Make sure to download that to the same directory that you downloaded MPlayer-1.0pre7.tar.bz2 to.
Once the download is done, do the following.
Code:
cd /location/to/MPlayer-1.0pre7try2
bzcat ../MPlayer-1.0pre7-gtk2.patch.bz2 |patch -p1
This will patch two files, and after this it's time to start building.
In the MPlayer-1.0pre7try2 directory run the configure command.
Code:
./configure --enable-gui --enable-gtk2
It'll go through the usual configure bit, and you might see it check your GTK version .
Once configure is done, just run
Code:
make && sudo checkinstall
This will make MPlayer, build a deb, and install the deb for you.
KNOWN ISSUES: Right click on the movie window does not work every time, I've found however if you double click it fast, it does work. I'll be looking into this tonight as there is a patch for a previous version of mplayer that fixes this.
Now, once thats installed, onto MPlayer plugin.
You can grab the source from here http://prdownloads.sourceforge.net/m...ar.gz?download and you'll also need the mozilla gecko-sdk which can be found here http://ftp.mozilla.org/pub/mozilla.o...t-1.8b1.tar.gz
Once that is downloaded, extract it, just like we did MPlayer, then browse to the directory it made and run configure again, this time with the following options.
Code:
./configure --with-gecko-sdk=/path/to/gecko-sdk --enable-gtk2
Once configure is done, just run
Code:
make && sudo checkinstall
and again, it will compile, build a deb file, and install the deb file for you.
Bookmarks