How to assign an icon to an application? [SOLVED]
Hi,
I have just installed a program, and added a link from /usr/bin to it so that I can run it from everywhere. Now I am trying to create a shortcut for it. I am using KDE 3.4.1 . I created a shortcut and assigned an icon for it: Code:
$ cat /usr/share/applications/wolfor.desktop But when I click on this shortcut, the icon I see in the taskbar is a big 'X' (of Xapps). I want to change it to the the icon I have. Here is the screenshot:http://home.iitk.ac.in/~anupamsr/problem.png |
Don't think you can change that, as I don't think it's really an "icon" per se, but what the system displays along with the name and info for the program. Even a lot of the programs that came with my distro only show that when launched. Not really a big deal, as all the icons for actually starting the program are right. Bit picky aren't ya? :)
|
But the firefox/thunderbird/other such applications which are not actually KDE applicaitons show their icons :(
Actually, one of my friend has Kubuntu, and it comes with this application (unlike mine, where I had to compile it from cvs). Their in Kubuntu, it does show the icon! So I guess there is some setting or a file in which an application is assigned an icon (permanently!?! :) ). Quote:
|
Try putting an icon for the app in /usr/share/pixmaps. That might turn out to be the magic touch, but I don't use KDE so I'm guessing where it looks for icons...
|
That sir, is indeed the magic trick! As a precaution, I also renamed the wolfor.desktop to dcpp.png.
So now, Code:
$cat /usr/share/applications/dcpp.desktop Thanks and thanks again! |
All times are GMT -5. The time now is 01:44 AM. |