You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, February 14th 2006, 2:38pm

Dealing with icons

Hi. I'm trying to change some icons for kde applications, but I'm finding it difficult to understand how it works. For instance, I would like to change icons used by kopete when it is in the systray. If I use an icon named kopete.png then that icon is changed, but if I set to away, the icon is changed and how can I know the name of the new icon used? This is only an example. How can someone know the name of an icon?

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Monday, March 6th 2006, 2:41pm

RE: Dealing with icons

Look around in $KDEDIR/share/icons and $KDEHOME/share/icons.

To change an application's icon, right click on it's menu entry and select Edit item. Click on the icon and a icon selection dialog will appear.

And for the Kopete example, you will see that 'online' and 'away' are two different icons, they are not based on one icon.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Monday, March 6th 2006, 2:47pm

This is ok. But, for instance, the away icon for kopete is named, I think, kopete_away. If I want to replace that particular icon, where should I go? I tried to put an icon with that name in the directory of a theme I'm making, but the icon is not used. kopete uses always the same icon as before, which is the default one I think.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

4

Monday, March 6th 2006, 2:53pm

Make sure that KDE is configured to use your icon set. Else it will, indeed, use the one of the currently active icon set.

You can change this icon set in the KDE Control Centre.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

5

Monday, March 6th 2006, 3:06pm

Yes, this I already did of course. If I replace an icon, such as the kopete icon, that icon is replaced correctly. Other icons, instead, are not replaced. I was looking for a guide explaining how to deal with this things, but I can't find any. I found one guide on icons, but that doesn't explain this part. I see there are some icon themes on kde-look.org which replace the kopete_all_away icon, and it seems these themes have a icon with that name in the directories. The problem is that it is not working for me. I placed an icon with that name in the set, but kopete is not using that icon.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

6

Monday, March 6th 2006, 5:06pm

Where did you install the new icon? Maybe it uses $KDEHOME/share/icons/ instead of $KDEDIR/share/icons or vice versa.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

7

Tuesday, March 7th 2006, 8:38am

I don't know where it is taking the icon it actually uses, but I know it is not using the one I inserted in the set. I created the set as a tarball. Then I installed it from the kde control center. I see the set is in $KDEHOME/share/icons/. Inside it, I see my set. So, I have an icon in:

$KDEHOME/share/icons/myset/AxA/kopete_all_away.png

but that icon is not used. AxA means I have that icon for every icon size. Shouldn't that icon be used by kopete?
Thanks for your help.

This post has been edited 1 times, last edit by "Luc4" (Mar 7th 2006, 8:38am)