Make Firefox as the default Web browser for Thunderbird in Kubuntu

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!! 🙂

1 Comment so far

  1. Michael on February 24th, 2011

    Thanks, very useful

Leave a Reply