Debian GNU/Linux update alternatives for www web browser

04 Mar 2009
Posted by stylesen
In order to change the default web browser of Debian GNU/Linux you can use the update alternatives as follows:
$ sudo update-alternatives --config x-www-browser

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

  Selection    Alternative
-----------------------------------------------
          1    /usr/bin/epiphany
          2    /usr/bin/iceweasel
*+        3    /usr/bin/konqueror
          4    /usr/bin/epiphany-gecko

Press enter to keep the default[*], or type selection number: 2
Using '/usr/bin/iceweasel' to provide 'x-www-browser'.
NOTE: The above command requires root user privileges in order to do so.