Linux Shortcut

Discussion in 'Computer Science & Culture' started by BenTheMan, Jul 5, 2007.

Thread Status:
Not open for further replies.
  1. BenTheMan Dr. of Physics, Prof. of Love Valued Senior Member

    Messages:
    8,967
    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?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Nickelodeon Banned Banned

    Messages:
    10,581
    Drag n Drop
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. BenTheMan Dr. of Physics, Prof. of Love Valued Senior Member

    Messages:
    8,967
    from where? I have to open a terminal---i can't get to the program from my desktop
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. Avatar smoking revolver Valued Senior Member

    Messages:
    19,083
    Why not? Using Konqueror or any other file browser.
     
  8. domesticated om Stickler for details Valued Senior Member

    Messages:
    3,277
    Are you using KDE or Gnome?
     
  9. darksidZz Valued Senior Member

    Messages:
    4,924
    You should try PCLinuxOS, it's really fantastic.
     
  10. BenTheMan Dr. of Physics, Prof. of Love Valued Senior Member

    Messages:
    8,967
    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?

    Ummm, perhaps? I think KDE, because everything that can contain a K does.
     
  11. przyk squishy Valued Senior Member

    Messages:
    3,203
    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: Jul 5, 2007
  12. przyk squishy Valued Senior Member

    Messages:
    3,203
    Type "which mathematica" in a terminal window to find out where the command is located in the filesystem.
     
  13. BenTheMan Dr. of Physics, Prof. of Love Valued Senior Member

    Messages:
    8,967
    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
     
Thread Status:
Not open for further replies.

Share This Page