Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Adding LimeWire link in desktop KDE3 (https://www.gnutellaforums.com/general-linux-support/11777-adding-limewire-link-desktop-kde3.html)

Unregistered May 26th, 2002 10:12 AM

Adding LimeWire link in desktop KDE3
 
Hi!

I am very new to Linux, using Suse 8.0

I have managed to install LimeWire for Linux in my home directory, and it runs beautifully if I start if from a command shell by typing ./LimeWire, but I would like to add an icon to my desktop.

anyone could give me a few hints, please?? I managed to add an icon for Opera, but it does not seem to work for LimeWire.

I know, after being able to install it, not being able to put an icon in the desktop sounds stupid but... :(

BTW, Linux is great, with Opera as my main browser, StarOffice 6 for Linux (I need the extra templates that OO does not include), XMMS and LimeWire running there is no need for Windows. Now I must find a program similar to Outlook. Any suggestions? I don't like Kmail or Mozilla Mail.

Unregistered May 26th, 2002 11:56 AM

I know what you mean. The first thing I did, before downloading anything was try to add a desktop link. It took a while, but I have it working now. The basic steps are:

1.) Create a shell script in your home directory that moves (via cd) to the LimeWire directory, and runs it there. Limwire likes to be run from the Limewire directory. (I point to runLime.sh). The script should contain CLASSPATH information (don't ask me why, since it's in runLime.sh, but I couldn't get it to work otherwise).

As an example, here's my script, called 'execLime.sh':
*************

#!/bin/sh

# tell it where your jre is
PATH=/usr/java/j2sdk1.4.0/jre/bin:$PATH:$HOME/bin
export PATH

#set this var (like runlime.sh)
J2SE_PREEMPTCLOSE=1
export J2SE_PREEPMTCLOSE

#set your classpath (like runlime.sh)
CLASSPATH=".:LimeWire.jar:collections.jar:xerces.j ar:j1011.jar"
export CLASSPATH

# move to where runlime.sh can be found
cd
cd /home/pinhead/LimeWire
sh ./runLime.sh

******

2) Once you've built the script, do the usual to add a link (like you did for Opera probably, Create New->Link to Application). Have it run as a user, and not as root. Just put /home/<username>/execLime.sh in the "command" textblock under the "Execute" tab.

3) change the icon to whatever you like under the "General" tab. I can't find a Limewire icon, but there are some cool ones at kde-look.org that you might use.

Hope that helps,
Pinhead

shorebreak May 30th, 2002 08:41 AM

alright this is the coolest icon i have seen so far...
i hope the upload works.

thonuz June 28th, 2002 06:38 AM

Easy way for Suse icon
 
To creat a desktop icon (SuSe 8.0) just right click anywhere on the Desktop.

Choose Creat new: Link to Application.

Under the General tab put linewire or whatever name you want. You can click the square box and choose from a zillion icons. (i think there's at least a lemon there somewhere)

2nd-tab over to Execute and browse for the file you want to open-runlimewire i guess.

As easy and better than Windows-lots of cool icons to choose from in SuSe.

Unregistered September 24th, 2002 09:10 PM

alternatives to Microsoft Outlook
 
Ximian's Evolution is much better than Outlook

www.ximian.com

Mitch September 28th, 2002 07:05 AM

Limewire shortcut on KDE
 
Thanks - I was able to use the script that you posted and it's working great!!! :-)

Unregistered October 1st, 2002 06:26 PM

can anyone tell me why the script i have here doesnt work? im sure its something lame i ddi but i never write scripts but really want one to work for me. heres mine:
_____________________________________
#!/bin/sh

# tell it where your jre is
PATH=$PATH:$HOME/bin:/usr/java/j2re1.4.1/bin
export PATH

#set this var (like runlime.sh)
J2SE_PREEMPTCLOSE=1
export J2SE_PREEPMTCLOSE

#set your classpath (like runlime.sh)
CLASSPATH=java -cp .:LimeWire.jar:collections.jar:xerces.jar:jl011.ja r com.limegroup.gnutella.gui.Main
export CLASSPATH

# move to where runlime.sh can be found
cd
cd /home/sdwillie/LimeWire/LimeWire
sh ./runLime.sh
_____________________________________

any ideas? thanks

SD

Unregistered October 1st, 2002 06:27 PM

oh yeah, and i made the right shortcut, but running it didnt do the trick.

SD

Unregistered October 1st, 2002 07:51 PM

CLASSPATH should not equal the command to open LimeWire, it should be the paths for the classes.

i imagine if you remove your classpath lines entirely (since they're already in runLime i believe) things will work

S.D.Willie October 3rd, 2002 12:22 PM

thanks i'll try this later on when i get home

SD


All times are GMT -7. The time now is 07:50 AM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.