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

Generate a Desktop icon on Linux #274

Open
Avasam opened this issue Feb 3, 2024 · 0 comments
Open

Generate a Desktop icon on Linux #274

Avasam opened this issue Feb 3, 2024 · 0 comments
Labels
enhancement New feature or enhancement request help wanted Extra attention is needed Linux Specific to Linux

Comments

@Avasam
Copy link
Collaborator

Avasam commented Feb 3, 2024

Is your feature request related to a problem? Please describe.

So as far as I understand it, Linux is dumb with icons and doesn't let you ship an icon as part of the file.
So what if instead we just ran some variant of gio set ./AutoSplit.elf metadata::custom-icon file://./icon.ico during boot? The icon will show up after first launch :)
Here's a possible sensible location to extract the icon into:
https://martin.hoppenheit.info/blog/2016/where-to-put-application-icons-on-linux/
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-0.13.html#install_icons
/usr/share/icons/hicolor/256x256/apps/AutoSplit.png

Describe the solution you'd like

If the executable has an icon after the first use, that is sufficient for me.

Describe alternatives you've considered

https://github.com/orgs/pyinstaller/discussions/7599 (there's some valid relevant info in that discussion)

Additional context

Extracted from #224

@Avasam Avasam added enhancement New feature or enhancement request help wanted Extra attention is needed Linux Specific to Linux labels Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement request help wanted Extra attention is needed Linux Specific to Linux
Projects
None yet
Development

No branches or pull requests

1 participant