Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fgl preview images need to be named after exec #198

Open
neilswann80 opened this issue Feb 12, 2022 · 0 comments
Open

fgl preview images need to be named after exec #198

neilswann80 opened this issue Feb 12, 2022 · 0 comments

Comments

@neilswann80
Copy link
Contributor

neilswann80 commented Feb 12, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant