Skip to content

Hardcoded icon path in launcher for GNU/Linux systems #308

Description

@palob

Hi,

currently the icon path specified in the created .desktop launcher file is set to:
Icon=%s/share/icons/komodo48.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:
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]
or alernatively:
/usr/share/pixmaps/[icon name]

The corresponding standard icon line in the .desktop launcher is:
Icon=[icon name] (without full path, without file extension)

Cf. this example .desktop launcher presented in the freedesktop.org documentation.

for instance
Icon=komodo

(for an icon komodo.svg or komodo.png stored in standard location

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions