Support zenity inside SNAP package
I'm using zenity
inside of a snap
package, but this doesn't work because zenity
uses an hard-coded absolute file path for the zenity.ui
file:
** (zenity:23309): WARNING **: 20:28:20.995: Could not load ui file /usr/share/zenity/zenity.ui: Failed to open file “/usr/share/zenity/zenity.ui”: No such file or directory
The zenity
files look like this in the snap
application folder:
/snap/myapp/x1/usr/bin/zenity
/snap/myapp/x1/usr/share/zenity/zenity.ui
I can make zenity
call /snap/myapp/x1/usr/bin/zenity
by adjusting the $PATH
, but I have not found a way to force zenity
to use the /snap/myapp/x1/usr/share/zenity/zenity.ui
file as well.
Feature Request:
I'd like to request a new command-line option or environment variable that I can use to force a specific zenity.ui
file.