Thanks Oli, I've implemented it as you suggested and got one step further:
$ ipe ln: failed to create symbolic link '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system (process:31604): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "gtk-vector-screenshot" Gtk-Message: Failed to load module "gail" Gtk-Message: Failed to load module "atk-bridge" Gtk-Message: Failed to load module "unity-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" Qt: Session management error: None of the authentication protocols specified are supported error loading module 'main' from file '/snap/ipe/x22/share/ipe/7.2.5/lua': cannot read /snap/ipe/x22/share/ipe/7.2.5/lua: Is a directory stack traceback: [C]: in ? [C]: in function 'require' [string "require "main""]:1: in main chunk but now I'm stuck again. On 29 July 2016 at 11:40, Oliver Grawert <o...@ubuntu.com> wrote: > Am Freitag, den 29.07.2016, 11:32 +0200 schrieb Dietmar Winkler: >> Hi, >> >> I'm not sure if this will help. According to the output it _is_ >> already looking at the right place. >> >> > no file '/share/ipe/7.2.5/lua/main.lua' >> >> but >> >> $ tree /snap/ipe/current/share/ipe/7.2.5/lua/ >> /snap/ipe/current/share/ipe/7.2.5/lua/ >> ├── actions.lua >> ├── editpath.lua >> ├── main.lua >> ... >> > > well, it looks in /share, not in /snap .... > > try this: > --- > #! /bin/sh > > export IPELUAPATH=$SNAP/share/ipe/7.2.5/lua > > exec $SNAP/bin/ipe > --- > > save it as wrapper.sh (make it executable), add a copy plugin part to > your snapcraft.yaml that copies it in the toplevel of your snap > and change: > https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml#L52 > to read: > > command: desktop-launch wrapper.sh > > if needed also set the other variables to their proper paths ... > > ciao > oli -- /Dietmar/ Secure email communication: https://encrypt.to/dietmar.wink...@dwe.no Public OpenPGP key: 0x235E6689 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft