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

Vasilisc vasilisc777 at gmail.com
Mon Feb 20 10:54:47 UTC 2017


20.02.2017 13:34, Oliver Grawert пишет:
> 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 ...
without xdg-utils
==================
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]
================
I got
/snap/test2/x1/command-test2.wrapper: 8: exec: xdg-open: not found

-- 
Best regards,
vasilisc




More information about the Snapcraft mailing list