Not sure about opera, but IIRC firefox doesn't use xdg-settings to set itself as the default browser.
chromium-browser relies on xdg-settings, which errors out when $BROWSER is set, and that's apparently intentional. So the bug here seems to be that $BROWSER is set in the first place. What purpose does that variable fulfill? As pointed out by Walter, it's not part of the UNIX standard. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1823917 Title: Can't set Chromium as the default browser when BROWSER variable is defined Status in chromium-browser package in Ubuntu: Confirmed Bug description: STEPS TO REPRODUCE 1. Install firefox 2. Set `BROWSER=firefox` 3. Open firefox and make sure it is the default browser 4. Install chromium-browser 5. Open chromium-browser and set it as the default browser 6. Click on a link or use `xdg-open URL` EXPECTED RESULTS Link opens in chromium-browser ACTUAL RESULTS Link opens in firefox instead. Running chromium-browser from the terminal, when trying to change the default browser, the error "xdg-settings: $BROWSER is set and can't be changed with xdg-settings" appears. BROWSER, xdg-setting's default-web-browser, and xdg-mime's default for text/html remain unchanged. It's not possible to set the value of default-web-browser when the BROWSER variable is set. Yet, when making firefox default, the end result is that BROWSER is still set and default-web-browser and the default for text/html has changed. chromium-browser 73.0.3683.103-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

