Hardcoded icon path in .desktop launcher

Bug #1459823 reported by WilloVincent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pasaffe
Fix Released
Undecided
Marc Deslauriers

Bug Description

Currently the icon path specified in the created .desktop launcher file is set to:
Icon=/usr/share/pasaffe/media/pasaffe.svg

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 corresponding standard icon line in the .desktop launcher is:
Icon=[icon name] (without full path, without file extension)

for instance
Icon=pasaffe

(for an icon pasaffe.svg or passaffe.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?

Tags: icon launcher
Changed in pasaffe:
status: New → Confirmed
assignee: nobody → Marc Deslauriers (mdeslaur)
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
Changed in pasaffe:
status: Confirmed → Fix Committed
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Fixed in 0.44. Thanks!

Changed in pasaffe:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.