This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] KDE4 on Gentoo: some Icons not found

Tags: None
(comma "," separated)
MalleRIM
Registered Member
Posts
19
Karma
0
Hi,

I have a weird problem on my desktop (There's everything fine with my laptop, running the same configuration). Some application icons are missing in the KMenu, from KDE and non KDE apps. For KDE apps not having icons in kmenu, any application Icons are missing in the tray and in the apps themselves.
I found out that in case of KDE apps, Icons are missing for apps that don't have icons shipped in kdebase-data and therefore no icons in /usr/share/icons/oxygen/. KDE seems to be unable to find the icons in /usr/share/icons/hicolor.
I had this problem since KDE 4.0. It persisted during updating every single version up to 4.2.4.
This is not a user configuration problem. I tried out a fresh user, without success.
I did not have this problem under GNOME.
Does anyone know how KDE finds icons so I can at least start searching somewhere?

Malle

Last edited by MalleRIM on Mon Jun 08, 2009 8:33 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Not sure how Gentoo does packaging, but if KDESupport is seperated out, you will need to install the Oxygen icons component.

KDE searches under /usr/, /usr/local, and any paths noted in $KDEDIR or $KDEDIRS for icons in the share/icons/ directory.
If you are installing KDE to a custom prefix, please ensure $KDEDIR is set correctly to this prefix.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
MalleRIM
Registered Member
Posts
19
Karma
0
There is no kdesupport package in the portage tree.
On my laptop I have exactly the same icons available for apps I have installed on my desktop too. So missing Icons are not the problem - they are there, they are just not found by kde.

edit:
hicolor is a fallback icon theme:
Code: Select all
[I] x11-themes/hicolor-icon-theme
     Available versions:  0.10!b!s
     Installed versions:  0.10!b!s(01:26:36 09.07.2008)
     Homepage:            http://icon-theme.freedesktop.org/wiki/HicolorTheme
     Description:         Fallback theme for the freedesktop icon theme specification


apps that have their own icons without the possibility of theming, put their icons there.
KDE should fall back to icons from /usr/share/icons/hicolor, if theres no icon found in the path of the icon theme set. In my case, it doesn't. I have to re-enable that functionality. Were could I possibly do that?

edit2:
yay, I got it working! I had to reinstall the hicolor theme, which was missing the *.theme file for some reason. Then I had to recompile some packages, such as kdelibs, and kdebase-data (I don't know which one it was in the end, I guess it was kdelibs).

Last edited by MalleRIM on Tue Jun 09, 2009 11:09 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The faulting package was likely kdebase-data which is likely responsible for installing the Oxygen icon theme.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]