LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Make Link (https://www.linuxquestions.org/questions/linux-general-1/make-link-186849/)

Insomnia 05-28-2004 04:29 AM

Make Link
 
Hi !!

I need to make a link to the Desktop using a command, because it will be included in a script. I make a link like this:

Code:

ln -s /usr/bin/mrproject /root/Desktop/MrProject
My question is: Is posible to choose a specific icon (image) for the the link, adding somethink to the code? or, is there another way to do what i want?

--Thanks--

drowstar 05-28-2004 05:05 AM

Hi Insomnia,
what you want is a Desktop Entry, a file that describes how a program is launched and displayed in a Desktop Environment.

This is a little more complicated than making a simple link, but you can easily adapt an existing .desktop file to suit your needs.
See the freedesktop Desktop Entry Standard.

Good luck with your project,
- drowstar

Insomnia 05-28-2004 05:33 AM

Thanks for your help drowstar. I'm going to try to do somethink whith that.


All times are GMT -5. The time now is 08:10 PM.