Archive for the 'Linux' Category


Viewing Embedded QuickTime Movies via Firefox on Ubuntu 2

I was at Apple’s website last night and eager to check out the latest stunning aluminium unibody MacBook, and it was then I realised that my Firefox (on Ubuntu) doesn’t have the ability to play Apple’s de facto online streaming media – the QuickTime movie.

I know that MPlayer has a plug-in, “mplayerplug-in” (a Mozilla browser plugin to allow playing embedded movies on Web pages using MPlayer.) for Firefox for dealing with this problem so in wasting no time I type the followings in the terminal:

sudo apt-get install mplayer mozilla-mplayer

p.s. You might have to enable the “multiverse” repository first in order to install all the required packages.

After the installation, I restart the Firefox for the MPlayer plug-in to kick in, and I was able to watch that embedded video showing how Apple design and produce the beautiful 13′ MacBook from a single aluminium block – I’m very impressed I must say.

Firefox Problem After Upgrading to Ubuntu 8.10 (From 8.04) 0

After the smooth process of upgrading my Ubuntu from Hardy Heron (8.04) to Intrepid Ibex (8.10), I happen to notice my Firefox (version 3.03) starts to behave differently. For instance, Firefox’s toolbar always returns to the default layout and some of installed add-on icons do not appear even they are functioning properly.

After some trials and errors, I eventually found the culprit that is causing this strange behaviour: Ubuntu Firefox Modifications (version 0.6) add-on. Once it is disabled, Firefox behaves like normal. I suspect a newer version of this add-on is needed for the new Ubuntu 8.10, however I’m still yet to notice any problem after disabling it…

Restarting/Restoring Audio in Ubuntu Without Rebooting 24

Occasionally on my Ubuntu machine the sound/audio somehow stops working, and although most of the time this can be fixed by closing and then restarting the audio programme (or any other service that occupies the audio driver) you’re running. However on odd occasions the audio still fails to work and you might have to reboot the OS in order to get the audio/sound back which is rather irritating.

Here is a quick way of restarting/restoring your audio/sound without rebooting your Ubuntu system, try using the following command:

sudo /etc/init.d/alsa-utils restart

This should restart your ALSA (Advanced Linux Sound Architecture) driver instantly. However, sometimes certain programmes still keep holding on the audio driver even after your restart ALSA. Try the following command:

lsof | grep pcm

to find out the list of open files and close (kill -9) those processes that are still holding the sound driver.

Make Firefox as the default Web browser for Thunderbird in Kubuntu 1

When clicking on any hyper-link embedded in your email messages from Thunderbird in Kubuntu, the deafult Web browser Thunderbird uses seem to be Konqueror. This is particular annoying especially after you have already set the default Web Browser to be Firefox, inside KDE’s System Settings.

This is due to the fact that all Gnome (GTK+) applications, e.g. Thunderbird, look for their default application settings somewhere different than the KDE applicatons. Hence, simply change the default application settings inside the KDE system panel doesn’t affect all the programmes.

Here is how to make Thunderbird to use Firfox as its default Web browser, via the use of “update-alternatives” command.

1. Invoke the update-alternatives command in the terminal:

$ sudo update-alternatives --config x-www-browser

2. Then you should see the following, asking you to choose which alternative you wish to be set as the default application, ih this case, I chose 2 (Firefox).

There are 2 alternatives which provide `x-www-browser’.

Selection Alternative
———————————————–
*+ 1 /usr/bin/konqueror
2 /usr/bin/firefox

Press enter to keep the default[*], or type selection number:2

3. When you re-run the the same command again, you can see the default x-www-browser is already been switched to Firefox (denoted with a star mark in the front):

There are 2 alternatives which provide `x-www-browser’.

Selection Alternative
———————————————–
+ 1 /usr/bin/konqueror
* 2 /usr/bin/firefox

Hope this helps!! 🙂

How to Enable Root Access for KDE 4

Before anyone starts shouting at me – I know it’s a bad idea to do this but I was trying out the new Gentoo distro and found myself unable to log in via the user account that I created during the installaiton process. The only account I can log in was the *root* account. KDM disable the root access by default, as the result I have to enable this via the following steps to get myself logged into the Gentoo. So just in case anyone wants to know how to do it, here are the instructions:

Locate the kdmrc file (normally in the “/etc/kde*/kdm/kdmrc”, replace * with the version of KDE you’re running)

Search for

“AllowRootLogin=false”

and change it to

“AllowRootLogin=true”

Das ist alles!!

Linux Distro Timeline 0

Came across with this excellent Linux distro timeline since the beginning of the Linux OS. Very detailed drawn by npu. For a closer look click on the picture

Timeline.png!!

Next Page »