-
Notifications
You must be signed in to change notification settings - Fork 466
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
Hardcoded icon path in launcher for GNU/Linux systems #707
Comments
Can you please make the needed changes and send a pull request? |
Thanks, created a PR. |
Thanks for the PR which I applied. |
Oops, sorry for thr typo. It should show up properly after the next login anyway, doesn't it. |
I removed the cache file, it does not seem to do any harm anyways ;) |
Hi,
currently the icon path specified in the created .desktop launcher file is set to:
Icon=%%PREFIX%%/share/codelite/images/cubes.png
(see https://github.com/eranif/codelite/blob/2d5c070c9c8c2b1b14b7c2724f7c98a8b356d183/Runtime/codelite.desktop.template)
This prevents icon theming without editing the launcher file.
I'd like to ask you to change the icon location as well as the icon path line in the launcher according to the freedesktop.org standards.
Please find more info here:
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
https://github.com/Foggalong/hardcode-fixer/wiki/What,-Why-&-How
According to the above resources standard icon locations are:
/usr/share/icons/hicolor/[size]/apps/[icon name]
~/.local/share/icons/hicolor/[size]/apps/[icon name]
/usr/share/pixmaps/[icon name]
The standard icon line in the .desktop launcher is:
Icon=[icon name] (without full path, without file extension)
for instance
Icon=codelite
(for an icon codelite.svg or codelite.png stored in standard location)
Could you please move the icon to one of those locations and adjust the icon path in the .desktop file accordingly?
The text was updated successfully, but these errors were encountered: