sciforums SciForums.com : Technology : Computer Science & Culture
Linux Shortcut
Encyclopedia Register FAQ Members List Social Groups Ban List Calendar Search Today's Posts Mark Forums Read
Reply
 
Thread Tools Rate Thread
BenTheMan's Avatar BenTheMan
Pwner of Physics (7,201 posts)
Old 07-05-07, 12:05 PM
 #1
Reply With Quote   BenTheMan is offline
Ok. I should say first that Linux and I are currently at odds. This is probably becasue I don't have administrator privleges on this machine.

Second...how do I create a shortcut on my desktop so I don't have to open a terminal every time I want to run a certain program, let's call it Mathematica?

Suggestions?
Nikelodeon's Avatar Nikelodeon
Banned (10,589 posts)
Old 07-05-07, 12:18 PM
 #2
Reply With Quote   Nikelodeon is offline
Drag n Drop
BenTheMan's Avatar BenTheMan
Pwner of Physics (7,201 posts)
Old 07-05-07, 03:02 PM
 #3
Reply With Quote   BenTheMan is offline
from where? I have to open a terminal---i can't get to the program from my desktop
Avatar's Avatar Avatar
smoking revolver (19,074 posts)
Old 07-05-07, 03:11 PM
 #4
Reply With Quote   Avatar is offline
Why not? Using Konqueror or any other file browser.
domesticated om's Avatar domesticated om
Tetracated Om (2,559 posts)
Old 07-05-07, 04:00 PM
 #5
Reply With Quote   domesticated om is offline
Originally Posted by BenTheMan
Ok. I should say first that Linux and I are currently at odds. This is probably becasue I don't have administrator privleges on this machine.

Second...how do I create a shortcut on my desktop so I don't have to open a terminal every time I want to run a certain program, let's call it Mathematica?

Suggestions?
Are you using KDE or Gnome?
darksidZz's Avatar darksidZz
Fear is the only darkness (4,010 posts)
Old 07-05-07, 04:07 PM
 #6
Reply With Quote   darksidZz is offline
You should try PCLinuxOS, it's really fantastic.
BenTheMan's Avatar BenTheMan
Pwner of Physics (7,201 posts)
Old 07-05-07, 05:11 PM
 #7
Reply With Quote   BenTheMan is offline
Why not? Using Konqueror or any other file browser.
It's a UNIX command, I think. Either way the file ``Mathematica'' doesn't show up on the file browser. I just want to know if I can make an icon that preforms a UNIX command, I guess?

Are you using KDE or Gnome?
Ummm, perhaps? I think KDE, because everything that can contain a K does.
przyk
squishy (1,508 posts)
Old 07-05-07, 05:12 PM
 #8
Reply With Quote   przyk is offline
Originally Posted by BenTheMan
Second...how do I create a shortcut on my desktop so I don't have to open a terminal every time I want to run a certain program, let's call it Mathematica?

Suggestions?
On my desktop (Gnome 2.14) I can create a new link on the menu/taskbar thing by right-clicking on it, selecting "add to panel", "Custom Application Launcher", then browsing for the Mathematica executable or startup script. I'm sure it's something similar if you're using KDE.

I suppose you could also try creating a script on the desktop (type "mathematica" or whatever the command is in a text file called "mathematica.sh", and set it to open with xterm or another terminal emulator).

Third possibility that comes to mind: create a symbolic link on the desktop with something like:
Code:
$ cd ~/Desktop
$ ln /usr/local/bin/mathematica mathematica
assuming your desktop directory is "~/Desktop" and your Mathematica binary is located at "/usr/local/bin/mathematica".

Disclaimer: I'm no guru - I'm not sure what the neatest way of getting a shortcut on the desktop is.

Last edited by przyk; 07-05-07 at 05:24 PM..
przyk
squishy (1,508 posts)
Old 07-05-07, 05:18 PM
 #9
Reply With Quote   przyk is offline
Originally Posted by BenTheMan
It's a UNIX command, I think. Either way the file ``Mathematica'' doesn't show up on the file browser.
Type "which mathematica" in a terminal window to find out where the command is located in the filesystem.
BenTheMan's Avatar BenTheMan
Pwner of Physics (7,201 posts)
Old 07-05-07, 06:20 PM
 #10
Reply With Quote   BenTheMan is offline
On my desktop (Gnome 2.14) I can create a new link on the menu/taskbar thing by right-clicking on it, selecting "add to panel", "Custom Application Launcher", then browsing for the Mathematica executable or startup script. I'm sure it's something similar if you're using KDE.
Ok that did it. Very nice. I also added a fish which tells me what version of linux I have:

Red Hat Enterprise Linux WS release 4 (Nahant Update 5)
Linux 2.6.9-55.ELsmp
18:20:46 up 6 days, 41 min, 1 user, load average: 0.09, 0.06, 0.01
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT -5. The time now is 06:18 PM.