Page 1 of 2

Desktop Launcher icon

Posted: 29. Mar 2010, 22:06
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.

Re: Desktop Launcher icon

Posted: 29. Mar 2010, 22:22
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.

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 03:23
by linuxfun
Hey-That works! thanks, you can mark this one solved.

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 03:39
by Akuna
linuxfun wrote:Hey-That works! thanks, you can mark this one solved.
http://www.salixos.org/forum/viewtopic.php?p=4310#p4310

;)

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 09:01
by JRD

Code: Select all

exo-desktop-item-edit -c ~/Desktop/

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 09:12
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.

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 09:56
by JRD
You can always pick an icon from any pathname.
You can also add an icon to ~/.local/share/icons/

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 10:57
by gapan
JRD wrote:You can always pick an icon from any pathname.
How?

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 11:17
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.

Re: Desktop Launcher icon

Posted: 30. Mar 2010, 12:00
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