Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 13th, 2001
Unregistered
Guest
 
Posts: n/a
Default make a desktop shortcut in Linux?

just wondering if there's a way to link the "/foo/LimeWire/sh runlime.sh" command to a desktop shortcut in KDE. i've tried all the stuff i could think of (granted i'm a newbie) but i can' t seem to get it to work. I must say that the install of 1.6 went very smoothly and very easily by the way and the program loads nicely on my k6-3-450 machine.
Thanks
Reply With Quote
  #2 (permalink)  
Old September 5th, 2001
Axe Axe is offline
Gnutella Admirer
 
Join Date: May 29th, 2001
Location: Northern Hemisphere
Posts: 70
Axe is flying high
Default

Desktop shortcut means an 'Icon' or a 'keyboard combination' like CRTL_ALT_Backspace ?

Adding an application is quite simple (out of my head): From the KDE-Menu, click configure panel -> add application -> old program
In case you start LW via the jre, choose the jre in /usr/java/where_it_is
on the next tab, add the command line entries (something like -cp /opt/LW RunLimeWire)
...select a nice icon...thats it
Reply With Quote
  #3 (permalink)  
Old September 7th, 2001
Unregistered
Guest
 
Posts: n/a
Unhappy Can't make a desktop link

I've been trying to do this forever. A link to the application does not work. Whenever I click on the link, it just times out and Limewire does not appear. Limewire however, runs great from the terminal. And yes, I'm sure I made the link correctly (i think) :P
Reply With Quote
  #4 (permalink)  
Old September 10th, 2001
Junior Penguin
 
Join Date: September 5th, 2001
Location: home
Posts: 10
SuSEpenguin is flying high
Default shortcut

i'v e got several icons here and there that look pretty cool 'cause i chose a cool graphic, but none of them will start limewire (they don't seem to do a [inapropriate language deleted] thing as far as i can tell)

Last edited by TruStarwarrior; September 10th, 2001 at 11:49 PM.
Reply With Quote
  #5 (permalink)  
Old September 12th, 2001
Junior Penguin
 
Join Date: September 5th, 2001
Location: home
Posts: 10
SuSEpenguin is flying high
Default plz excuse inapropriate language

sorry about the language - i didn't think what i wrote was terribly vulgar but i'm not in charge around here. i'll try not to use similar language in future posts.
Reply With Quote
  #6 (permalink)  
Old September 13th, 2001
Unregistered
Guest
 
Posts: n/a
Arrow have a look at the FAQ

http://www.gnutellaforums.com/showth...=3328#section2

more precisely: A 2-8
Reply With Quote
  #7 (permalink)  
Old September 19th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Post Running Limewire

Use the solution in the FAQ (section 2-8) or you can try the shell script I wrote for my own use. My script does two things. It lets you run LimeWire from anywhere (desktop icon, menu icon, any directory in a terminal, whatever) and, to make LimeWire behave like other unix programs, it creates a .limewire directory in your home directory for LimeWire to write it's configuration files to.

My script is attached. It works brilliantly for me but I've only tested it on my system (RedHat 7.1, KDE2.2, LimeWire1.7, JDK1.3.1). It should work on most systems out there. Give it a try anyway. :-)

To install:

1. Go to the LimeWire directory and backup the old runlime.sh with: mv runlime.sh runlime.old

2. Copy runlime.sh.txt to the LimeWire directory.

3. Rename runlime.sh.txt to runlime.sh with: mv runlime.sh.txt runlime.sh

4. Make it executable with whatever permissions you choose. e.g. chmod 755 runlime.sh


That's it! You can now link to the new runlime.sh script however you like. Note however that because the configuration will now be stored in the ~/.limewire dir, LimeWire will ask you to configure everything as if you had just installed it. By default everything (Shared dir, Incomplete dir, gnutella.net, etc) will be under .limewire in your home directory. If you don't want your Shared directory to be under ~/.limewire make sure you change this when LimeWire prompts you to.

[Update: Feh, I found a bug. Script didn't work when you ran it from the limewire directory with ./runlime.sh. See next post for the fixed version. :-) ]

Last edited by twist; September 19th, 2001 at 07:06 PM.
Reply With Quote
  #8 (permalink)  
Old September 19th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Default runlime.sh

A replacement runlime.sh. See previous post for install instructions.
Attached Files
File Type: txt runlime.sh.txt (424 Bytes, 348 views)
Reply With Quote
  #9 (permalink)  
Old September 21st, 2001
Unregistered
Guest
 
Posts: n/a
Talking

oh, even more simple : you have to be in the limewire directory for Limewire to work. Your shortcut doesn't put you there. Well then, I edited runtime.sh and added a

cd /home/(whatever path to your limewire dir)

just after the text and before

J2SE_PREEMPTCLOSE=1; export J2SE_PREEMPTCLOSE

hard to make more simple ?
Reply With Quote
  #10 (permalink)  
Old September 21st, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Default

Yes, it does. The script is generic. It'll work no matter where LimeWire is installed. The line:

cd `dirname $0`

Changes to the LimeWire directory. The $0 variable returns the command used to execute the script. Then the script changes to ~/.limewire so limewire will write it's config files there. The idea is that you can install the LimeWire .tgz under /usr/local as root and then allow multiple users to run LimeWire with multiple configs.

If you run the script with, say:

sh runlime.sh

Then $0 won't refer to the limewire directory. Run it like ./runlime.sh or /usr/local/LimeWire/runlime.sh. Or, as you suggested, write in the directory names manually. :-)

Last edited by twist; September 21st, 2001 at 09:09 PM.
Reply With Quote
Reply


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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop Shortcut JoeSingh Windows 1 March 5th, 2006 03:04 PM
How do I place a desktop shortcut... Maineiac Open Discussion topics 1 October 11th, 2005 05:59 PM
LimeWire ? How to create a shortcut on my desktop for my downloaded files? MoneyPit Open Discussion topics 10 March 21st, 2005 10:24 AM
limewire 2.6 - how to make a desktop shortcut Unregistered General Linux Support 2 November 10th, 2002 06:31 AM
Can you make a desktop shortcut to LimeWire? Unregistered General Linux Support 1 September 23rd, 2001 11:44 AM


All times are GMT -7. The time now is 05:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.