Page 1 of 1

Is there anyway to shortcut to a shell command?

Posted: Mon 18 Jul 2005, 23:06
by flamesage
Example:
/root/byond/bin/dreamseeker

Could I create a file, and say, place it on my desktop, and whenever I click that file it opens up the console and starts up the example above.

Posted: Mon 18 Jul 2005, 23:19
by dvw86
Just navigate to your desired file in a Rox window. Grab the file and drop it on your desktop. That will create a link to the original file. When you click on the desktop link it will be just like clicking on the original script.

Posted: Mon 18 Jul 2005, 23:31
by Ian
If the executable file is dreamseeker and clicking on it starts it all you need to do is drag it onto the desktop and right click on it and drop an icon in to it.

If on the other hand the executable can only be started from the commandline you will need to use a text editor like Beaver and after clicking 'New' click in the new window and enter these lines:

#! /bin/sh

cd /root/byond/bin
./dreamseeker

then save it as /root/my-applications/dreamseeker
Make it executable by typing in rxvt

chmod a+x /root/my-applications/dreamseeker

Then drag that file to the desktop and drop an icon into it.

If you have trouble following these instructions or it does not work, post here again with any error messages that you receive.

Posted: Tue 19 Jul 2005, 00:07
by flamesage
Now whenever I click dreamseeker it opens it up in leafpad.
(the shortcut to the shell command)

Posted: Tue 19 Jul 2005, 00:52
by Ian
Did you try dragging the originable executable to the desktop.

Posted: Tue 19 Jul 2005, 00:54
by flamesage
Yep, It still opens as a text file.

Posted: Tue 19 Jul 2005, 01:03
by Ian
Does this program work when you click on the executable /root/byond/bin/dreamseeker.

Posted: Wed 20 Jul 2005, 20:00
by flamesage guest
no, but i just read that other post, and that worked.

Now I have another question...
When you go to byond.com
and select JOIN on a game, it opens up asking whta kind of file ya want it to open as...
How would I tell it to open DreamSeeker through the console?

Posted: Wed 20 Jul 2005, 20:02
by flamesage
(with the connect.dms that it's trying to open)