chromium invokes `xdg-settings get default-web-browser` to determine the
default browser, and this is being blocked by apparmor.

If I add the following rule to
/var/lib/snapd/apparmor/profiles/snap.chromium.chromium:

    /usr/bin/xdg-settings ixr,

chromium nows displays a different message, and a button to allow
setting itself as default browser. However when clicking that button,
I'm getting:

    Error org.freedesktop.DBus.Error.ServiceUnknown: The name
io.snapcraft.Settings was not provided by any .service files

-- 
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/1741078

Title:
  [snap] Chromium cannot determine or set the default browser

Status in chromium-browser package in Ubuntu:
  Triaged

Bug description:
  When browsing to chrome://settings, the [Default browser] section
  shows the following message:

    Chromium cannot determine or set the default browser

  and it doesn't allow setting itself as the default browser.

  Note that setting the default webbrowser to the chromium snap from the
  outside does work:

      xdg-settings set default-web-browser chromium_chromium.desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1741078/+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

Reply via email to