I’m trying to finalize a snap for my Python script that uses GTK3. The issue is: my app runs, but the theme icons are missing.
In my snapcraft.yaml file, if I use this line:
command: desktop-launch $SNAP/bin/openresizer.py
My Python script opens up a GTK window, but with all the icons missing (it’s not able to find the Ambiant theme icons).
However, if I open a terminal and run
python3 openresizer.py inside the snap folder, where my app is installed, the GTK window opens up and the icons are there.
How can I make this part run my script, so it sees the GTK3 theme icons? Or what am I doing wrong?
apps: openresizer: command: desktop-launch $SNAP/bin/openresizer.py plugs: [gnome-3-26-1604, x11, unity7, pulseaudio, wayland, desktop, desktop-legacy, gsettings, home, removable-media]