Handling Icon= definitions in .desktop file

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
bmarkus
Posts: 33
Joined: Tue Sep 08, 2009 6:23 pm

Handling Icon= definitions in .desktop file

Post by bmarkus »

Current PCManfm2/libfm (0.9.5/0.1.11) doesn't display icon defind as

Icon=fooview.png

only as

Icon=fooview

or as an absolute path

Icon=/usr/local/share/pixmaps/fooview.png

However Icon=fooview.png are handled correctly in Menu system and other DE environments. Going through .desktop files for example on my CentOS box there are several applications using this format.

In the freedesktop standard http://standards.freedesktop.org/deskto ... c-1.0.html there is an example:

A. Example Desktop Entry File

[Desktop Entry]
Version=1.0
Type=Application
Name=Foo Viewer
Comment=The best viewer for Foo objects available!
TryExec=fooview
Exec=fooview %F
Icon=fooview.png
MimeType=image/x-foo;
X-KDE-Library=libfooview
X-KDE-FactoryName=fooviewfactory
X-KDE-ServiceType=FooService

According to this Icon=fooview.png is compliant so it is a bug in the current version. Also not handling it results missing icons on the Desktop and in the menu::/applications view.

Bug report #2995482 submitted.

Regards... Béla
bmarkus
Posts: 33
Joined: Tue Sep 08, 2009 6:23 pm

Re: Handling Icon= definitions in .desktop file

Post by bmarkus »

Well, in 1.1 draft example is changed from

Icon=fooview.png

to

Icon=fooview
Locked