[Bug 1741078] Re: [snap] Chromium cannot determine or set the default browser

2018-03-09 Thread Olivier Tilloy
snapd nows exposes a xdg-settings wrapper that bridges to the outside. However setting as the default browser now fails with the following error: Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/chromium_chromium-browser.desktop" snapd's xdg-s

[Bug 1741078] Re: [snap] Chromium cannot determine or set the default browser

2018-01-03 Thread Olivier Tilloy
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

[Bug 1741078] Re: [snap] Chromium cannot determine or set the default browser

2018-01-03 Thread Olivier Tilloy
Related discussion: https://forum.snapcraft.io/t/browser-not-setting- itself-as-the-default/1547 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1741078 Title: [snap] Chromium cannot determine or set