Comment 1 for bug 1741078

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [snap] Chromium cannot determine or set the default browser

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