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

Oliver Grawert ogra at ubuntu.com
Mon Feb 20 13:56:39 UTC 2017


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"
> ------------------------
> 
> I try  install/remove snapd-xdg-open ... nothing!

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 non-standard though
(this will likely be fixed by the new implementation that gustavo
talked about in the other thread).

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/3f9d01e8/attachment.sig>


More information about the Snapcraft mailing list