GNOME
How to set default browser in GNOME?
In Debian you set the default browser using update-alternatives --config x-www-browser but GNOME has its own setting, so changing default browser in Debian doesn't guarantee that the default browser is changed in GNOME. To do that you need to:
Change default browser in debian
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/iceape 4 /usr/bin/epiphany-gecko
Change GNOME setting by going to System -> Preferences -> Preferred Applications or running this in a command line:
gnome-default-applications-properties
Change the web browser from custom to iceweasel for example.