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]
---------------------
Output
$ test2
/snap/test2/x1/usr/bin/xdg-open: 630: /snap/test2/x1/usr/bin/xdg-open: exo-open: not found


System info:

$ LANG=C sudo apt policy xfce4
xfce4:
  Installed: (none)
  Candidate: 4.12.2
  Version table:
     4.12.2 500
500 http://ru.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 500 http://ru.archive.ubuntu.com/ubuntu xenial/universe i386 Packages

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

$ LANG=C sudo apt policy exo-utils
exo-utils:
  Installed: 0.10.7-1
  Candidate: 0.10.7-1
  Version table:
 *** 0.10.7-1 500
500 http://ru.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

$ whereis exo-open
exo-open: /usr/bin/exo-open /usr/share/man/man1/exo-open.1.gz


I found this bug
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1535471
but there is no solution

--
Best regards,
vasilisc

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to