LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating desktop icons (https://www.linuxquestions.org/questions/linux-newbie-8/creating-desktop-icons-256987/)

mat_uk111 11-19-2004 04:14 PM

Creating desktop icons
 
Here is a problem I have been playing with. It's creating desktop icons for programs that you have to type their name into the command line to get to run. How do I do it basically, I have managed to do it for eDonkey2000 but I want to be able to do it for Firefox and other such program. Is there an easy way?

Regards,

Mat

darkleaf 11-19-2004 04:19 PM

You have to know the complete link to the application. Most programs are in or have a link in /usr/bin so I'd start to look there. There are some search tools as well which you can use to find the program.
Firefox is for example /usr/bin/firefox or /usr/bin/mozilla-firefox

mat_uk111 11-19-2004 04:23 PM

I know what to click on when I want to start up firefox (I tried making a link to the desktop but that didn't work), so I know where to start looking for the right place, now what?

Mat

darkleaf 11-19-2004 04:26 PM

Are you using gnome or kde? Then you can create a link in the menu you get by rightclicking. If you're using another window manager it might be that you can't have desktop icons.

mat_uk111 11-19-2004 04:32 PM

I did this and when I shut Firefox down to test the icon it came up with "what doyou want to open this with?"It only works when I have a copy of Firefox already running.

Suppose also that I have installed some software where I just type something in the command promt to get the thing to work. The program I am trying to get to work is MuPAD, to get it working I just type xmupad after opening up a window and hey presto it opens up. How would I get an icon up for that?

darkleaf 11-20-2004 03:37 AM

Did you write the line to link to in this format:
Quote:

"/usr/bin/filename"
I don't know if it automatically does this if you just type in the name but since those directories are in your $PATH I think it might work. Just try it,
Quote:

"xmupad"

arun79 11-20-2004 03:46 AM

Depends on the distro that you are using.

With Mandrake, using KDE, its very simple. Just create the menu item for the relevant program and then drag it to the desktop.

I've not tried this in other GUIs, but I suppose there should be a similar procedure.

I'll try it out in GNOME today and tell you.

:D

mat_uk111 11-20-2004 10:19 AM

OKay, I know where these thngs live on my drive BUT therer doesn't seem to be anything I can click to make it work.All I know is the command to type in the command prompt.

Mat


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