Here is a strawman proposal:
- we add a small url-helper to ubuntu-core that contains "dbus-send --session snappy-url-helper $url"
- the snap needs to call "url-helper" (we could also call it xdg-open) when opening a url
- as part of the snapd deb (or as a dependency) we have a small dbus service on the host fs that listens to these dbus-send events and that proxies the url open requests (directly or via a window popup)
Here is a strawman proposal:
- we add a small url-helper to ubuntu-core that contains "dbus-send --session snappy-url-helper $url"
- the snap needs to call "url-helper" (we could also call it xdg-open) when opening a url
- as part of the snapd deb (or as a dependency) we have a small dbus service on the host fs that listens to these dbus-send events and that proxies the url open requests (directly or via a window popup)