mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: June 06 2006,04:08 |
|
oh...i guess it wouldn't work from an icon unless you added a right-click menu to it. This script requires a parameter of on/start, off/stop, or restart.
for example, you could have your main icon command be "/path/to/script start", which would start torsmo, and have a right-click menu to stop or restart torsmo.
Then again, you don't even need the script if you want to control trosmo this way. You could have your icon look something like this: blah blah blah Command: torsmo MenuCommand1: Stop Torsmo:killall torsmo MenuCommand2: Restart Torsmo:killall torsmo ; torsmo
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|