Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

Hardcoded Icon Line #82

Closed
Foggalong opened this issue Sep 8, 2016 · 1 comment
Closed

Hardcoded Icon Line #82

Foggalong opened this issue Sep 8, 2016 · 1 comment
Assignees

Comments

@Foggalong
Copy link

The icon path in the created .desktop launcher file is hardcoded to Icon=/opt/{{name}}/icon.png. 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 and here.

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]

When the icon is located in one of the above the corresponding standard icon line in the .desktop launcher only has to be Icon=[icon name], without the full path and without file extension. In this programs case, for an icon eintopf.svg or eintopf.png stored in a standard location it would read: Icon=eintopf

Cf. this example .desktop launcher.

Could you please install the icon to one of those locations and adjust the icon path in the .desktop file accordingly?

@jensklose
Copy link
Contributor

pre archive closing

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

No branches or pull requests

2 participants