xdg-open pls help
Vasilisc
vasilisc777 at gmail.com
Wed Aug 3 12:50:43 UTC 2016
"Using xdg-open in a snap package"
https://olav.ninja/using-xdg-open-in-a-snap/
---------------------------
I modify this solution
BEFORE
snapd-xdg-open:
source: https://github.com/ubuntu-core/snapd-xdg-open.git
plugin : copy
files:
data/xdg-open: bin/xdg-open
AFTER
com.canonical.SafeLauncher.service :
usr/share/dbus-1/services/com.canonical.SafeLauncher.service
xdg-open: bin/xdg-open
--------------------------
Script "xdg-open" contain
dbus-send --print-reply --session --dest=com.canonical.SafeLauncher /
com.canonical.SafeLauncher.OpenURL string:"$1"
File "com.canonical.SafeLauncher.service" contain
[D-BUS Service]
Name=com.canonical.SafeLauncher
Exec=xdg-open
But I see a problem
Error org.freedesktop.DBus.Error.ServiceUnknown: The name
com.canonical.SafeLauncher was not provided by any .service files
--
Best regards,
vasilisc
More information about the Snapcraft
mailing list