LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-28-2004, 04:29 AM   #1
Insomnia
LQ Newbie
 
Registered: May 2004
Location: Basque Country
Distribution: Red Hat 9
Posts: 12

Rep: Reputation: 0
Question 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--
 
Old 05-28-2004, 05:05 AM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
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
 
Old 05-28-2004, 05:33 AM   #3
Insomnia
LQ Newbie
 
Registered: May 2004
Location: Basque Country
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your help drowstar. I'm going to try to do somethink whith that.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot make symbolic link dave`2005 Debian 3 10-08-2005 10:15 AM
Can't make a link with my router. pdeman2 Linux - Wireless Networking 8 08-20-2005 04:32 PM
i can't make link with the command 'ln' icoming Linux - General 5 05-15-2004 03:50 AM
anyone know how to make a link to a website? BajaNick Linux - General 13 08-18-2003 09:34 PM
How to make symbolic link? Tommi Linux - General 9 05-07-2003 08:58 AM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
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