LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2004, 05:14 PM   #1
mat_uk111
Member
 
Registered: Oct 2004
Posts: 128

Rep: Reputation: 15
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
 
Old 11-19-2004, 05:19 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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
 
Old 11-19-2004, 05:23 PM   #3
mat_uk111
Member
 
Registered: Oct 2004
Posts: 128

Original Poster
Rep: Reputation: 15
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
 
Old 11-19-2004, 05:26 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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.
 
Old 11-19-2004, 05:32 PM   #5
mat_uk111
Member
 
Registered: Oct 2004
Posts: 128

Original Poster
Rep: Reputation: 15
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?
 
Old 11-20-2004, 04:37 AM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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"
 
Old 11-20-2004, 04:46 AM   #7
arun79
Member
 
Registered: Apr 2003
Location: Bangalore
Distribution: Mandrake 9.1
Posts: 66

Rep: Reputation: 15
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.

 
Old 11-20-2004, 11:19 AM   #8
mat_uk111
Member
 
Registered: Oct 2004
Posts: 128

Original Poster
Rep: Reputation: 15
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
GNOME 2.8 Desktop icons all generic.desktop sygin Debian 0 12-23-2004 12:58 AM
Creating Icons BACTRATE Mandriva 1 03-25-2004 06:30 AM
Desktop Icons Gone.... vdi_nenna Linux - Newbie 2 09-21-2003 06:09 AM
Creating Desktop Icons OldFart Linux - Newbie 5 03-20-2003 04:44 PM
creating icons with KDE juanb Linux - General 1 01-02-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration