Desktop Launcher icon

You have a problem with Salix? Post here and we'll do what we can to help.
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

Desktop Launcher icon

Post by linuxfun »

How can I set a desktop launcher icon if its not in any of the lists? I downloaded a small java program that I use, there's a "png" image icon with it, but with Salix xfce I can't find a way to get the png image set on the desktop. I created a launcher on the desktop for the java executable, but the "icon" button on the edit-window only lets you pick from preset lists of icons. Using Salix 64 with the xfce , full install.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop Launcher icon

Post by gapan »

You need to create a .desktop file. Look in /usr/share/applications for lots of examples. The launcher you created is probably such a file too, so you can edit it with a text editor to fix it the way you want it.
Image
Image
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

Re: Desktop Launcher icon

Post by linuxfun »

Hey-That works! thanks, you can mark this one solved.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Desktop Launcher icon

Post by Akuna »

linuxfun wrote:Hey-That works! thanks, you can mark this one solved.
http://www.salixos.org/forum/viewtopic.php?p=4310#p4310

;)
Image
What really matters is where you are going, not where you come from.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Desktop Launcher icon

Post by JRD »

Code: Select all

exo-desktop-item-edit -c ~/Desktop/
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop Launcher icon

Post by gapan »

JRD wrote:

Code: Select all

exo-desktop-item-edit -c ~/Desktop/
That's the same dialog as you get when you create a new launcher. But it only offers a limited number of icons, only the ones in the icon cache I think.
Image
Image
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Desktop Launcher icon

Post by JRD »

You can always pick an icon from any pathname.
You can also add an icon to ~/.local/share/icons/
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop Launcher icon

Post by gapan »

JRD wrote:You can always pick an icon from any pathname.
How?
Image
Image
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Desktop Launcher icon

Post by JRD »

Like any other window with an icon button : you click on it, you choose "image file"...and you choose an image, that's all.
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop Launcher icon

Post by gapan »

JRD wrote:Like any other window with an icon button : you click on it, you choose "image file"...and you choose an image, that's all.
Either I'm missing something, or you didn't try what you're suggesting at all. :D
Image
Image
Post Reply