Home > > Changing default browser in Kubuntu

Changing default browser in Kubuntu

Yes, I am writing a blog post for a task that sounds very simple to achieve – just with a click of a button. But this is not true, atleast  with Kubuntu 9.04. If  you are coming to this post through search engine then you have already gone through this pain. If not, give it a try ;)

Surprisingly, the browser’s functionality of setting it as default doesn’t work in Kubuntu. At the same time, changing it manually from System Settings -> Default Applications doesn’t seem to work either.

To set one of your browser as default browser, you have to run the command

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

You will see the list of browsers currently available in your system and then you will enter the number for the browser you want to set as default. My console with 3 browsers was something like follows

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

There are 3 alternatives which provide `x-www-browser'.

Selection    Alternative
-----------------------------------------------
+        1    /usr/bin/konqueror
2    /usr/bin/firefox-3.0
*         3    /usr/bin/google-chrome

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

That is it. Enter the number for the browser you like and hit ENTER. You have your browser set as default.

  1. Bill Bartmann
    September 6th, 2009 at 21:40 | #1

    This site rocks!

  2. November 19th, 2009 at 09:39 | #2

    I’d be hung up on to ascertain that too!

  3. Aston
    July 29th, 2011 at 04:11 | #3

    No joy on my box :/ URL’s in Kmail still open in Firefox (trying to change to rekonq).

  4. NahsiN
    December 17th, 2011 at 18:14 | #4

    Thank you! This problem still persists in Kubuntu 11.10! This helped me ease my frustration. Thank you! Hopefully it helps more people who are just shifting to Kubuntu and finding it full of small bugs like these :)

  1. No trackbacks yet.