Bookmark and Share

Setting the default browser in Linux

Links keep opening in Konqueror even though you've told Firefox to be your default browser? A solution:

From the terminal, type the command:

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

It will show your available browsers:

Selection Alternative
-----------------------------------------------
1 /usr/bin/firefox
*+ 2 /usr/bin/opera
3 /usr/bin/iceape

Enter the number corresponding to the browser you wish to set as default.

  1. gravatar

    # by Anonymous - July 18, 2012 at 11:08 AM

    What if I have only one browser. And get:

    There is only 1 program which provides x-www-browser(/usr/bin/google-chrome). Nothing to configure.