View Single Post
  #6 (permalink)  
Old January 2nd, 2003
cdevidal cdevidal is offline
Apprentice
 
Join Date: December 27th, 2002
Posts: 5
cdevidal is flying high
Default Shorter command

Oh, OK. If you followed my directions, you would have to type that long command to execute LimeWire, a real pain.

I first edited runLime.sh to include the path to the java program, so I could skip the export PATH=... part. You should see it at the bottom of that file, java something... (don't have that computer in front of me right now).

I put
/usr/java/j2re1.4.1_01/bin/java ...

Then I put a link to the runLime.sh to a directory in my $PATH. Then I could start it by just running
limewire

To do this, type
ln -fs /path/to/runLime.sh /path/to/some/directory/in/$PATH

Example:
I copied the unpacked tarball to /opt/limewire.
echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin
Since I like my globally-usable commands in /usr/bin, I ran this:
ln -fs /opt/limewire/runLime.sh /usr/bin/limewire
which created the limewire command.

Then you can start LimeWire by simply running
limewire
on a commandline or from a menu entry or shortcut.

/dev/idal
Reply With Quote