I've also made the suggestion to LXQt to discontinue using `$BROWSER`
and instead using `xdg-settings` as I've shown how even though chromium
is unique in its robustness, there is still not a complete definition of
"default browser" (including dealing with file associations/mimetypes
and scheme handlers) by using `$BROWSER` alone, whereas `xdg-settings`
just resolves everything.

-- 
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:
  Triaged

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.

  AFFECTED VERSIONS
  chromium-browser 73.0.3683.103-0ubuntu1

  UPSTREAM BUG REPORTS
  https://bugs.chromium.org/p/chromium/issues/detail?id=952569
  https://github.com/lxqt/lxqt/issues/1513#issuecomment-482779833

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to