Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where does KDE fetch the program default icons?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vuakko
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2007
Posts: 138
Location: Helsinki, Finland

PostPosted: Wed May 30, 2007 6:59 pm    Post subject: Where does KDE fetch the program default icons? Reply with quote

I'm enjoying a lifetime for using kooldock, but there are some rough edges (forget for now that I'd love
to see that systray work too). I have some special icons for programs, and I've put them to the kooldock's
Launch area. The problem is that in the area where active programs are shown also the original program
icons are shown. Where are these icons taken from? I guess that this is actually not a kooldock issue, but
a generic KDE one. I might guess too that the same icon-repo is used for the KMenu entries. It would be
nice for those to change automatically too. Thanks.
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Wed May 30, 2007 7:24 pm    Post subject: Reply with quote

Maybe /usr/share/icons?

(Note: I am not a KDE user myself.)
Back to top
View user's profile Send private message
ricce_n
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 130

PostPosted: Wed May 30, 2007 7:28 pm    Post subject: Reply with quote

The search name of those icons are in the *.desktop files. Those files are located in /usr/share/applnk, /usr/share/applications, /usr/kde/<ver>/share/applnk and /usr/kde/<ver>/share/applications

for example: In /usr/kde/3.5/share/applications/kde/konqueror.dektop I found the line:
Quote:

Icon=konqueror


This means that KDE should search for a icon named konqueror in the default searchpath for icons. -- that is `/usr/kde/3.5/share/icons/hicolor/<size>/apps/konqueror.png' where <size> is one of 16x16, 22x22, 32x32, 48x48, 64x64 or 128x128.

You can override those settings by adding a copy of the *.desktop file to ~/.kde/share/applications or ~/.kde/share/applnk only changing the Icon setting... I think absolute paths to the icon should work -- else add the icons in the same structure as in /usr/kde/<ver>/share/icons to ~/.kde/share/icons
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum