#572318 Icons for applications .desktop files are not displayed in KDE

Package:
gnome-menus
Source:
gnome-menus
Description:
GNOME implementation of the freedesktop menu specification
Submitter:
Thomas Mueller
Date:
2010-03-03 10:00:13 UTC
Severity:
minor
#572318#5
Date:
2010-02-20 21:08:25 UTC
From:
To:
Observed in Dolphin, K-Menu and konqueror

for some gnome applications listed in /usr/share/applications the icon is not displayed.
either the defined icons are missing in the oxygen icon set
or some additional directories shall be added to the icon lookup mechanism

examples:
 gnome-about-me.desktop
 gnomecc.desktop
 gmenu-simple-editor.desktop
 ntfs-config.desktop

ntfs-config.desktop has as icon gnome-dev-harddisk defined
the pngs/svg can be found in /usr/share/icons/gnome/

I'd love to see the gnome icon rather than the ugly question mark.

THX alot,

Tom

#572318#10
Date:
2010-03-03 02:12:19 UTC
From:
To:
Hi,

the freedesktop.org icon theme specification [1] states:
"In order to have a place for third party applications to install their icons
there should always exist a theme called "hicolor". [...] Implementations are
required to look in the "hicolor" theme if an icon was not found in the
current theme."

Therefore, for an application icon to be shown correctly in KDE, there has to
be a corresponding icon in the "hicolor" theme (*not* in the "gnome" theme).

I just had a look at the four desktop files you mention:

(1) gnome-about-me.desktop references an icon "user-info", however, there is
no file /usr/share/icons/hicolor/*/apps/user-info.* in Debian.

(2) gnomecc.desktop references an icon "gnome-control-center", however, there
is no file /usr/share/icons/hicolor/*/apps/gnome-control-center.* in Debian.

(3) gmenu-simple-editor.desktop references an icon "gnome-main-menu", however,
there is no file /usr/share/icons/hicolor/*/apps/gnome-main-menu.* in Debian.

(4) ntfs-config.desktop references an icon "gnome-dev-harddisk", however, there
is no file /usr/share/icons/hicolor/*/apps/gnome-dev-harddisk.* in Debian.

Since those icon names are no standard application names according to the icon
naming specification [2], and since none of these icons (including all their
proper prefixes) exist in the "hicolor" theme, this has to be fixed in the
packages capplets-data (for 1 and 2), gnome-menus (for 3) and ntfs-config (for
4).

Eckhart

[1] http://standards.freedesktop.org/icon-theme-spec/latest/ar01s03.html
[2] http://standards.freedesktop.org/icon-naming-spec/latest/ar01s04.html

#572318#13
Date:
2010-03-03 02:12:19 UTC
From:
To:
Hi,

the freedesktop.org icon theme specification [1] states:
"In order to have a place for third party applications to install their icons
there should always exist a theme called "hicolor". [...] Implementations are
required to look in the "hicolor" theme if an icon was not found in the
current theme."

Therefore, for an application icon to be shown correctly in KDE, there has to
be a corresponding icon in the "hicolor" theme (*not* in the "gnome" theme).

I just had a look at the four desktop files you mention:

(1) gnome-about-me.desktop references an icon "user-info", however, there is
no file /usr/share/icons/hicolor/*/apps/user-info.* in Debian.

(2) gnomecc.desktop references an icon "gnome-control-center", however, there
is no file /usr/share/icons/hicolor/*/apps/gnome-control-center.* in Debian.

(3) gmenu-simple-editor.desktop references an icon "gnome-main-menu", however,
there is no file /usr/share/icons/hicolor/*/apps/gnome-main-menu.* in Debian.

(4) ntfs-config.desktop references an icon "gnome-dev-harddisk", however, there
is no file /usr/share/icons/hicolor/*/apps/gnome-dev-harddisk.* in Debian.

Since those icon names are no standard application names according to the icon
naming specification [2], and since none of these icons (including all their
proper prefixes) exist in the "hicolor" theme, this has to be fixed in the
packages capplets-data (for 1 and 2), gnome-menus (for 3) and ntfs-config (for
4).

Eckhart

[1] http://standards.freedesktop.org/icon-theme-spec/latest/ar01s03.html
[2] http://standards.freedesktop.org/icon-naming-spec/latest/ar01s04.html