I'm finding a strange issue with system apps located in:
media/data/local/home/.simplemenu/apps/
that launch from usr/bin via .fgl files are not showing their preview images correctly; the .fgl links themselves function perfectly.
The media folder is:
media/data/local/home/.simplemenu/apps/.previews
If the .png image files within the media folder are named the same as the .fgl the preview is not displayed in Simplemenu. However if the image file is named after the exec command within the .fgl file the preview is displayed.
For example:
media/data/local/home/.simplemenu/apps/usb_mode.fgl
which has the command: exec=/usr/bin/usb-chooser
media/data/local/home/.simplemenu/apps/.previews/usb_mode.png - preview NOT displayed by Simplemenu
media/data/local/home/.simplemenu/apps/.previews/usb-chooser.png - preview IS displayed by Simplemenu
Where this gets particularly odd is where there are additional parameters...
For example:
media/data/local/home/.simplemenu/apps/passwd.fgl
which has the command: exec=/usr/bin/sudo
and parameters: params= -S od-passwd-config od
media/data/local/home/.simplemenu/apps/.previews/passwd.png - preview NOT displayed by Simplemenu
media/data/local/home/.simplemenu/apps/.previews/sudo.png - preview NOT displayed by Simplemenu
media/data/local/home/.simplemenu/apps/.previews/sudo -S od-passwd-config od.png - preview IS displayed by Simplemenu
Is there a way to force Simplemenu to use the filename from the .fgl files instead? Any idea as to why this is occurring?
I'm finding a strange issue with system apps located in:
media/data/local/home/.simplemenu/apps/
that launch from usr/bin via.fgl
files are not showing their preview images correctly; the.fgl
links themselves function perfectly.The media folder is:
media/data/local/home/.simplemenu/apps/.previews
If the
.png
image files within the media folder are named the same as the.fgl
the preview is not displayed in Simplemenu. However if the image file is named after theexec
command within the.fgl
file the preview is displayed.For example:
media/data/local/home/.simplemenu/apps/usb_mode.fgl
which has the command:exec=/usr/bin/usb-chooser
media/data/local/home/.simplemenu/apps/.previews/usb_mode.png
- preview NOT displayed by Simplemenumedia/data/local/home/.simplemenu/apps/.previews/usb-chooser.png
- preview IS displayed by SimplemenuWhere this gets particularly odd is where there are additional parameters...
For example:
media/data/local/home/.simplemenu/apps/passwd.fgl
which has the command:exec=/usr/bin/sudo
and parameters:params= -S od-passwd-config od
media/data/local/home/.simplemenu/apps/.previews/passwd.png
- preview NOT displayed by Simplemenumedia/data/local/home/.simplemenu/apps/.previews/sudo.png
- preview NOT displayed by Simplemenumedia/data/local/home/.simplemenu/apps/.previews/sudo -S od-passwd-config od.png
- preview IS displayed by SimplemenuIs there a way to force Simplemenu to use the filename from the .fgl files instead? Any idea as to why this is occurring?