LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 09-10-2010, 09:47 AM   #1
since1992trying
LQ Newbie
 
Registered: May 2010
Location: Seoul
Distribution: Debian Lenny, Ubuntu Lucid
Posts: 19

Rep: Reputation: 0
Wink Assign icons for no icon applications


I am using Ubuntu 10.04. There are some applications that do not have icons such as rdesktop. I use Docky and Gnome-Do. The icon on Docky looks ugly because there is no icon for rdesktop. It is a question mark in a gray box. There are some more applications that have no icon. I do not remember what there were exactly. But I remember I got confused.
Anyone knows how I can assign a icon to rdesktop? I tried to make it work. I created a launcher for rdesktop. It didn't work. I changed icon in Nautilus for /usr/bin/rdesktop with root privillege. But it didn't changed. I hope somebody solved this problem already. Thank you.

Last edited by since1992trying; 09-24-2010 at 09:29 AM.
 
Old 09-10-2010, 12:10 PM   #2
sys
LQ Newbie
 
Registered: Jan 2010
Distribution: Ubuntu 9.10
Posts: 13

Rep: Reputation: 1
You will need an svg file with an icon. You can search your system using "locate .svg | less". Once you create symbolic link or a launcher for your application or your desktop, right click on it and do Properties. On the panel "Basic" click the icon and point it to the chosen .svg file. Click open -> Close. Your icon should appear on your desktop.
 
Old 09-11-2010, 12:57 AM   #3
since1992trying
LQ Newbie
 
Registered: May 2010
Location: Seoul
Distribution: Debian Lenny, Ubuntu Lucid
Posts: 19

Original Poster
Rep: Reputation: 0
cannot make it work

Quote:
Originally Posted by sys View Post
You will need an svg file with an icon. You can search your system using "locate .svg | less". Once you create symbolic link or a launcher for your application or your desktop, right click on it and do Properties. On the panel "Basic" click the icon and point it to the chosen .svg file. Click open -> Close. Your icon should appear on your desktop.
First, I created two symbolic links

Code:
young@eeyes:~/Desktop$ ln -s /usr/bin/rdesktop .
young@eeyes:~/Desktop$ sudo ln -s /usr/bin/rdesktop rdesktop-root
young@eeyes:~/Desktop$ ls
rdesktop  rdesktop-root
young@eeyes:~/Desktop$ ./rdesktop 192.168.123.172 &
[1] 3062
young@eeyes:~/Desktop$ ./rdesktop-root 192.168.123.172 &
[2] 3063
I also tried to change icon with root privilege by running

Code:
sudo nautilus /usr/bin/ --browser
And I edit property of rdesktop. But changing icon in the property window doesn't work as shown in my third attachment. Did I do wrong something? Is there no way to make this work? Thank you for your reply
Attached Images
File Type: jpg screenshot1.jpg (5.8 KB, 8 views)
File Type: png Screenshot-rdesktop Properties.png (23.1 KB, 4 views)
File Type: png Screenshot-rdesktop Properties -usr-bin1.png (23.1 KB, 6 views)

Last edited by since1992trying; 09-11-2010 at 01:23 AM.
 
Old 09-11-2010, 07:03 AM   #4
since1992trying
LQ Newbie
 
Registered: May 2010
Location: Seoul
Distribution: Debian Lenny, Ubuntu Lucid
Posts: 19

Original Poster
Rep: Reputation: 0
I found how to do it partially after googling many web pages. I do not know the mechanism of icons in Debian or Ubuntu system. So, I hope somebody give me links explaining it.

I copy a appropriate icon from internet to /usr/share/pixmaps/desktop.png. And, I went to /usr/share/applications directory. I copied one of .desktop files to rdesktop.desktop. Since I didn't know how .desktop entry works, I just tried several times. And I got finally one works


Code:
[Desktop Entry]
Name=rdesktop
GenericName=rdesktop
Comment=linux command for remote desktop
Encoding=UTF-8
Version=1.0
Type=Application
Categories=Application;Network;
Exec=rdesktop %U

Terminal=false
StartupNotify=true

Icon=/usr/share/pixmaps/rdesktop.png
I also tried to get different icons for each rdesktop because in many cases I got confused which ones for what. But I couldn't make it. If I get understood how the icon system works in Ubuntu, I will write a thread about icons.

It is funny to me that I couldn't find any good help for this simple issue. Don't you need icons for some applications that do not comes with icons such as rdesktop? Thank you for you guys help all the time.
Attached Images
File Type: jpg done.jpg (2.2 KB, 8 views)
 
Old 09-14-2010, 06:41 AM   #5
sys
LQ Newbie
 
Registered: Jan 2010
Distribution: Ubuntu 9.10
Posts: 13

Rep: Reputation: 1
What happens if you actually click on the area I circled in the attached image?
I get the dialog box where I'm able to select the icon I wanna have for the link/launcher.
Attached Images
File Type: png screen1.PNG (26.3 KB, 7 views)
 
Old 09-24-2010, 09:27 AM   #6
since1992trying
LQ Newbie
 
Registered: May 2010
Location: Seoul
Distribution: Debian Lenny, Ubuntu Lucid
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sys View Post
What happens if you actually click on the area I circled in the attached image?
I get the dialog box where I'm able to select the icon I wanna have for the link/launcher.
I apology for little late reply. I was busy in moving to Arch with KDE. Anyway, I was able to change icons for launcher that I made as you suggested. However, the changed icons were not displayed in Docky, AWN and task switcher. I had hard time when I had several windows that have no icons since I could not recognize which icons indicating what while I am navigating icons in task switcher - or you might call this windows switcher.
Now, I know how to assign an icon for applications came with no icon. There is no problem. One lucky thing is that way worked in KDE environment in Arch.
I spent much time to get succeed for this. I wrote how I solved this problem. Please let me know if you need help in this issue. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i change icons used by xfce's icon box try-alls Linux - Newbie 1 08-13-2010 02:34 PM
start two applications with one icon pepsimachine15 Linux - Software 20 07-07-2008 11:56 PM
How does Nautilus know which icon to assign to a mounted volume? hbquikcomjamesl Linux - Desktop 4 12-07-2006 09:51 AM
How do i assign max cpu to applications? RonaldUitAlmere Debian 3 05-23-2006 06:44 AM
How to assign an icon to an application? anupamsr Linux - Newbie 4 11-06-2005 07:18 AM


All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration