[opensuse-packaging] Icon not working on KDE for a package...
Dear all, I've packaged a game called Unknown Horizons which installs the desktop file in /usr/share/applications/%{name}.desktop. This file has an icon file entry in the following format: Icon=unknown-horizons Which seems cool to me. The icon is installed on /usr/share/pixmaps/unknown-horizons.svg. Everything works just fine in GNOME, but in KDE the icon for the applications isn't rendered on the menus. Anyone familiar with KDE knows what is happening? Nelson -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sat, 14 May 2011 03:03:10 +0100
Nelson Marques
Dear all,
I've packaged a game called Unknown Horizons which installs the desktop file in /usr/share/applications/%{name}.desktop. This file has an icon file entry in the following format: Icon=unknown-horizons
Which seems cool to me. The icon is installed on /usr/share/pixmaps/unknown-horizons.svg. Everything works just fine in GNOME, but in KDE the icon for the applications isn't rendered on the menus. Anyone familiar with KDE knows what is happening?
Nelson Hi Shouldn't it be in /usr/share/icons/hicolor/scalable/apps?
-- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop up 1 day 5:39, 3 users, load average: 0.07, 0.06, 0.05 GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Shouldn't it be in /usr/share/icons/hicolor/scalable/apps?
Hi Malcolm, Nope, that doesn't seem to work either... I've replaced the file location on the icon from /usr/share/pixmaps to /usr/share/icons/hicolor/scalable/apps and strangelly now I get the entry doubled on GNOME3 (strange thing) and KDE still doesn't see the icon :/ NM -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
El Sábado, 14 de Mayo de 2011 05:01:03 Nelson Marques escribió:
Hi Shouldn't it be in /usr/share/icons/hicolor/scalable/apps?
Hi Malcolm,
Nope, that doesn't seem to work either... I've replaced the file location on the icon from /usr/share/pixmaps to /usr/share/icons/hicolor/scalable/apps and strangelly now I get the entry doubled on GNOME3 (strange thing) and KDE still doesn't see the icon :/
Have you tried using the full path? ie: Icon=/full/path/icon.svg Greetings, -- Javier Llorente
Hi all,
Thanks for the ideas... I identified the bug with Richard Bos on KDE.
I've spoken with Pino Toscano about this bug and we debugged it and
made some preliminary testing. Everything suggests for a bug in KDE
when icons start by 'unknown' and are followed by a 'dash' (-),
somehow this triggers some weird thing that makes KDE use the
'unknown.png' icon from Oxygen.
Pino's on it. Thanks all.... As a temporary measure I had already
repacked the package with the full path on the desktop entry file.
NM
On Sat, May 14, 2011 at 8:52 PM, Javier Llorente
El Sábado, 14 de Mayo de 2011 05:01:03 Nelson Marques escribió:
Hi Shouldn't it be in /usr/share/icons/hicolor/scalable/apps?
Hi Malcolm,
Nope, that doesn't seem to work either... I've replaced the file location on the icon from /usr/share/pixmaps to /usr/share/icons/hicolor/scalable/apps and strangelly now I get the entry doubled on GNOME3 (strange thing) and KDE still doesn't see the icon :/
Have you tried using the full path? ie: Icon=/full/path/icon.svg
Greetings, -- Javier Llorente
-- Nelson Marques /* As cicatrizes lembram-nos de onde estivemos, mas não ditam para onde vamos */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Javier Llorente
-
Malcolm
-
Nelson Marques