Monday, May 25, 2009

How to Fix the detached Video Bug in Vlc on Ubuntu 9.04

After upgrading to Jaunty when I played a video using vlc, surprisingly the video was being displayed in a separate window from the main interface of vlc. Also the controls were not being shown in it. It is really uncool as the bug had been there in intrepid for a while but was fixed soon. But the good thing is that the patch has been out quickly. You can use medigeek's repository and install/upgrade vlc from there :

Add this to your sources.list :

For Ubuntu Jaunty :

deb http://ppa.launchpad.net/medigeek/ppa/ubuntu jaunty main

For Ubuntu Intrepid :

deb http://ppa.launchpad.net/medigeek/ppa/ubuntu intrepid main

Then update your system via this command :

$sudo apt-get update

If you are getting a keyserver/signature error at launchpad, please follow the instructions given after the next step which is the final one in case you don't encounter the error.

Now you can update your vlc (via $sudo apt-get upgrade) or using synaptic manager or using upgrade gui tool or you can install vlc if you removed it or never installed (via $sudo apt-get install vlc).

If you add a launchpad repository to your sources.list and see this kind of error :
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E1940624A220

Stop worrying and just follow the steps....

Download change.pl from here.

And download the required packages :

$sudo apt-get install libhtml-parser-perl libio-socket-ssl-perl

Now make it executable by going to the directory in which the script has been saved and then

$chmod +x change.pl

Then run the script using:

$perl change.pl

Enter your root password when it is asked.That is all.