xdg-open doesn't work only in xubuntu (v2)

Oliver Grawert ogra at ubuntu.com
Mon Feb 20 10:34:31 UTC 2017


hi,
Am Montag, den 20.02.2017, 12:29 +0300 schrieb Vasilisc:
> Please ignore my previous letter.
> This test case does not work in Xubuntu.
> ---------------------
> name: test2
> version: "1"
> summary: TEst
> description: |
>      TEST
> confinement: strict
> architectures: [amd64]
> 
> apps:
>    test2:
>      command: xdg-open "http://google.com"
>      plugs: [network, network-bind, x11, home, unity7, gsettings]
> 
> parts:
>    integration:
>     plugin: nil
>     stage-packages:
>      - bash
>      - xdg-utils
>     after: [desktop-gtk2]

looks like you explicitly asked for trouble here ... :)

adding xdg-open (via xdg-utils) will replace/override the xdg-open that
is already shipped in the core snap (which is a dbus service that hands
the url to the outside of the confined space). first of all drop the
xdg-utils line above and see if it works then, this should at least
allow the app to hand it to the outside of the confined area.

that said, it might be that snapd-xdg-open needs to learn about exo-
open (or the other way around) as well to be able to handle the request
on the desktop side ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170220/1242e99e/attachment.sig>


More information about the Snapcraft mailing list