Ubuntu – How to set a “custom” browser as default in Preferred Applications

11.04browserdefault-browserdefault-programs

I'm trying to set up Conkeror as my default browser. However, in the Preferred Applications menu, this is not an option, nor do I see a method of inputting a custom setting/command.

Does anyone know a way round this?

[Edit: I've tried (1) using sudo update-alternatives --config x-www-browser as well as using gconf-editor to edit /desktop/gnome/url-handlers/http, /desktop/gnome/url-handlers/https, /desktop/gnome/applications/browser/exec. Neither of these seems to work. ]

Best Answer

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

Result shoud be:

There are 3 choices for the alternative x-www-browser 
(providing /usr/bin/x-www-browser).

  Selection    Path                       Priority   Status
------------------------------------------------------------
* 0            /usr/bin/xlinks2            69        auto mode
  1            /usr/bin/chromium-browser   40        manual mode
  2            /usr/bin/firefox            40        manual mode
  3            /usr/bin/xlinks2            69        manual mode

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

But you will have conkeror too.

Result after choosing 1:

update-alternatives: using /usr/bin/chromium-browser to provide /usr/bin/x-www-browser (x-www-browser) in manual mode.