[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#531941: gpe-gallery: missing gpe-gallery.png icon for .the desktop file



Neil Williams escribió:
> On Fri, 05 Jun 2009 08:02:20 +0200
> Luca Capello <luca@pca.it> wrote:
> 
>> Package: gpe-gallery
>> Version: 0.97-3
>> Severity: minor
> 
>> Hello,
>>
>> the .desktop file looks for gpe-gallery.png while only the .xpm version
> 
> Bah - this is getting really annoying. If Debian is going to stick with
> two menu systems, why do we also have to stick with two icon formats?
> (And why did we choose the *BIGGER* icon format of XPM? It's *double*
> the size of the equivalent PNG for foo sake.)
> 
> The other mystery is that the desktop icon shows up fine on my own Sid
> systems. Has something changed to allow the XPM to show up when a PNG
> doesn't exist in some cases?
> 
> $ ls /usr/share/pixmaps/gpe-gallery.*
> /usr/share/pixmaps/gpe-gallery.xpm
> 
> $ grep Icon /usr/share/applications/gpe-gallery.desktop 
> Icon=gpe-gallery.png

Note that the .desktop specification discourages putting an extension to the
Icon field. It will Just Work if you write Icon=gpe-gallery, and if there are
various it will choose the better one. That way, the xpm should be enough for
everyone.

emilio@mercurio:~$ desktop-file-validate /usr/share/applications/gobby.desktop
/usr/share/applications/gobby.desktop: warning: value "gobby.png" for key "Icon"
in group "Desktop Entry" is an icon name with an extension, but there should be
no extension as described in the Icon Theme Specification if the value is not an
absolute path

Cheers,
Emilio

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: