Can't set Chromium as default browser

I open Chromium and the browser ask me if I want to set it as my default browser. I click on "set as default" and close the browser.

But when I open Chromium again I get the same question. Ubuntu 11.04 seems not to set Chromium correctly as my default browser.

How to fix that?


Try changing your your preferred browser.

17.10+

Settings > Details > Default Applications

screenshot

On older versions

  1. Open Preferred Applications from Preferences > Preferred Appplications.

    enter image description here

  2. Change the default Web Browser to your liking.

    enter image description here


To change the browser globally, run the next command in a terminal:

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

Enter the number of chromium-browser and press Enter to confirm it.