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

2017-02-21 Thread Vasilisc
20.02.2017 16:56, Oliver Grawert пишет: ah, sorry, i was wrong about the $SNAP in the PATH ... i grabbed your example and changed it like: http://paste.ubuntu.com/24033840/ this definitely works on a unity desktop, i am not sure about desktops that deliberately replace xdg-open with something

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

2017-02-20 Thread Oliver Grawert
hi, Am Montag, den 20.02.2017, 16:35 +0300 schrieb Vasilisc: >  > $ test2 > /snap/test2/x1/bin/run.sh: line 4: xdg-open: command not found > > $ cat /snap/test2/current/bin/run.sh > > #!/bin/bash > > PATH="$PATH:$SNAP/usr/local/bin" > xdg-open "http://google.com"; > > >

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

2017-02-20 Thread Vasilisc
20.02.2017 16:13, Oliver Grawert пишет: hi, Am Montag, den 20.02.2017, 14:44 +0300 schrieb Vasilisc: $ echo $PATH /home/vasilisc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin: /sbin:/bin:/usr/games:/usr/local/games:/snap/bin this is not the PATH your snap sees at execution time, just

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

2017-02-20 Thread Oliver Grawert
hi, Am Montag, den 20.02.2017, 14:44 +0300 schrieb Vasilisc: >  > > $ echo $PATH > /home/vasilisc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin: > /sbin:/bin:/usr/games:/usr/local/games:/snap/bin > this is not the PATH your snap sees at execution time, just your users PATH used at login t

Re: xdg-open doesn't work only in xubuntu

2017-02-20 Thread Gustavo Niemeyer
Please see the response to your other message on this topic. On Mon, Feb 20, 2017 at 6:14 AM, Vasilisc wrote: > This test case does not work in Xubuntu. > - > name: test2 > version: "1" > summary: TEst > description: | > TEST > confinement: strict > architectures: [amd64]

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

2017-02-20 Thread Vasilisc
20.02.2017 14:20, Oliver Grawert пишет: hi, Am Montag, den 20.02.2017, 13:54 +0300 schrieb Vasilisc: I got /snap/test2/x1/command-test2.wrapper: 8: exec: xdg-open: not found do you see: /snap/core/current/usr/local/bin/xdg-open on your system ? you also dont need to ship bash: /snap/core/cu

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

2017-02-20 Thread Oliver Grawert
hi, Am Montag, den 20.02.2017, 13:54 +0300 schrieb Vasilisc: > I got > /snap/test2/x1/command-test2.wrapper: 8: exec: xdg-open: not found do you see: /snap/core/current/usr/local/bin/xdg-open on your system ? you also dont need to ship bash: /snap/core/current/bin/bash ships it ... looks to me

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

2017-02-20 Thread Vasilisc
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

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

2017-02-20 Thread Oliver Grawert
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: >