Unable to set default Web browser

Look into ~/.config/mimeapps.list.

There should be some lines like the followings:

x-scheme-handler/http=chromium.desktop
text/html=chromium.desktop
application/xhtml+xml=chromium.desktop
x-scheme-handler/https=chromium.desktop

Change chromium.desktop to firefox.desktop.
Check if it will effectively set Firefox to be used as default browser.

2 Likes