Description: I created several tray icons in the default KDE 4.5 style for the following programs: ktorrentkopetekonversationkgpg
I've also included icons for these programs: kmailakregatorchoqokkteatime BUT the do not work because these programs either use an old API (kmail, akregator, kteatime) or they don't use KStatusNotifierItem::setIconByName (like kopete) this allows plasma to select an icon according to the desktop theme. Instead they use KStatusNotifierItem::setIconByPixmap with a pixmap that was loaded by the program itself (choqok does this and supposedly kgpg). Also: konversation doesn't use the icon defined in the set for it's red-blinking-alert instead is uses it's default .png icon, so the explanation above might apply likewise.
To install them simply put the *.svgz files in ${HOME}/.kde4/share/apps/desktoptheme/default/icons or in the corresponding folder in the KDE installation directory.
This thing is not really fit-for release. I hope that the KDE-Icon designers will come up with a neater looking version.
Inspired by the Amarok Tray Icon[1] and Krayscale[2].
Hey. would you like to create a icon for this apps:
kshutdown, kadu skype.
or If you will just write me how to create that icons(which apps itp) it will be great.
Just tried to use your kmail icon for gmail plasmoid, but looks it's not centered. Can you fix it, or just make an additional icon for this plasmoid?
And thanks, very good work.
I really love the 4.5 icons but the kopete icon does not fit in. It should mimic the original icon with the speech bubble AND smiley. So have the speech bubble itself have a transparent background and be just a white border and the smiley inside. And not a new one :) But still very nice! :)
Well as i've explained in the description, it's currently not possible to use these icons with choqok. But I've patched choqok to use them.
So if you are willing to patch and recompile, you can use the icon.
(Well, patched is a strong word... Basically I've just replaced setIconByPixmap with setIconByName in the coqok/systrayicon.cpp)
Actually, you can make choqok use the icon without patching but you need to do one additional thing.
Export the svg to png, and make sure its dimensions are 22x22. Copy the png to:
icon-theme-name/22x22/apps
As an example, for a downloaded icon-theme it would be something like this:
~/.kde4/share/icons/MIB-Ossigeno-Icons-V3-Classic/22x22/apps
Well I knew that. But I consider it a crude hack, because it hides the problem, that some programs do not use the plasma desktoptheme icons, instead of fixing it.
These desktoptheme icons in KDE 4.5 are quite a nifty feature, because they allow a consistent look of icons and desktop theme.
True, but that's because Akregator (all of Kontact really) doesn't use plasma pop-ups at all just yet. That should be fixed when the Kontact 2 (or whatever it will be called) series is released.
thx for this, i was waiting for great looking tray icons since the new tray was introduced. Great job.
Would be nice to see more in the future. I miss a Akregator icon. :)
Keep up your great work.
Ratings & Comments
14 Comments
since i don't add icons anymore, here's a guide on how the icons are named: http://techbase.kde.org/Projects/Plasma/Theme#Theming_Application_Icons_in_the_Systemtray (for creation simply use any svg program like inkscape or karbon14)
Hey. would you like to create a icon for this apps: kshutdown, kadu skype. or If you will just write me how to create that icons(which apps itp) it will be great.
Just tried to use your kmail icon for gmail plasmoid, but looks it's not centered. Can you fix it, or just make an additional icon for this plasmoid? And thanks, very good work.
Is it possible to add a knemo icon? And akonadi?
I really love the 4.5 icons but the kopete icon does not fit in. It should mimic the original icon with the speech bubble AND smiley. So have the speech bubble itself have a transparent background and be just a white border and the smiley inside. And not a new one :) But still very nice! :)
i would also vote for a choqok icon :)
Well as i've explained in the description, it's currently not possible to use these icons with choqok. But I've patched choqok to use them. So if you are willing to patch and recompile, you can use the icon. (Well, patched is a strong word... Basically I've just replaced setIconByPixmap with setIconByName in the coqok/systrayicon.cpp)
Actually, you can make choqok use the icon without patching but you need to do one additional thing. Export the svg to png, and make sure its dimensions are 22x22. Copy the png to: icon-theme-name/22x22/apps As an example, for a downloaded icon-theme it would be something like this: ~/.kde4/share/icons/MIB-Ossigeno-Icons-V3-Classic/22x22/apps
Well I knew that. But I consider it a crude hack, because it hides the problem, that some programs do not use the plasma desktoptheme icons, instead of fixing it. These desktoptheme icons in KDE 4.5 are quite a nifty feature, because they allow a consistent look of icons and desktop theme.
thx for the hint but its not working for akregator.
True, but that's because Akregator (all of Kontact really) doesn't use plasma pop-ups at all just yet. That should be fixed when the Kontact 2 (or whatever it will be called) series is released.
ok, thx
Thanks for the great work.. would be nice if choqok was added to the mix ;)
thx for this, i was waiting for great looking tray icons since the new tray was introduced. Great job. Would be nice to see more in the future. I miss a Akregator icon. :) Keep up your great work.