![]() |
Can't create start menu shortcut I'm running Slackware 10.1 with kernel 2.4.3 (stable) and FVWM Windows Manager, with the RedMond98 theme. and I've been able to extract LimeWireOther.zip and I can sh .runLime.sh and Limewire runs great. But when I try create a shortcut for limewire in my startmenu, limewire will not run. Here is several different code snippets I've tried, and none seem to load Limewire. + "%menu/www.xpm%LimeWire" Exec exec java -jar /daman/LimeWire/LimeWire.jar and + "%menu/www.xpm%LimeWire" Exec exec sh ./daman/LimeWire/runLime.sh and + "%menu/www.xpm%LimeWire" Exec exec ./daman/LimeWire/runLime.sh and and + "%menu/www.xpm%LimeWire" Exec exec "sh ./daman/LimeWire/runLime.sh" I think this may be a problem with paths, because when I execute runLime.sh from a shell, I've cd'ed into the directory then sh ./runLime.sh and it works fine. Hopefully someone here has experience with the FVWM style menus. Thanks for any help :) |
gnome or kde shortcut examples If some had the code examples for gui shortcuts in KDE or Gnome, that would help me alot..... thanks |
Issue Solved So this seems very round about...but I got the shortcut figured out. I had to write an sh script. and put it in my home directory called it "startLimeWire" --==CODE EXAMPLE==-- #!/bin/sh cd /daman/LimeWire/ ; sh ./runLime.sh --==END CODE EXAMPLE==-- I was manually typing in command to try and get lime to run and I tried. daman@bugnix:~$ exec startLimeWire sh: /home/daman/startLimeWire: Permission denied sh: exec: /home/daman/startLimeWire: cannot execute: Success daman@bugnix:~$ And then in the start menu script I ended up using this --==CODE EXAMPLE==-- + "%menu/www.xpm%LimeWire 4.8.1" Exec sh /home/daman/startLimeWire --==END CODE EXAMPLE==-- and boom it worked....so I tried to eliminate the script and just use this in the startmenu script. --==CODE EXAMPLE==-- + "%menu/www.xpm%LimeWire 4.8.1" Exec sh /daman/runLime.sh --==END CODE EXAMPLE==-- and it doesn't work....so I'm guessing this has something to do with the fact that you have to be in the directory to run runLime.sh or it wont work. So I'll keep this script in my home directory, and if it ain't broke don't fix it....lol edit: if anyone is confused by the paths listed in the examples, my home directory is /home/daman/ and I have a second directory for my second HD that mounted at /daman/ |
All times are GMT -7. The time now is 08:05 PM. |
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.