Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 13:31
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Is there anyway to shortcut to a shell command?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Mon 18 Jul 2005, 19:06    Post subject:  Is there anyway to shortcut to a shell command?  

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.
Back to top
View user's profile Send private message 
dvw86


Joined: 04 May 2005
Posts: 636
Location: Washington State

PostPosted: Mon 18 Jul 2005, 19:19    Post subject:  

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.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Mon 18 Jul 2005, 19:31    Post subject:  

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.
Back to top
View user's profile Send private message 
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Mon 18 Jul 2005, 20:07    Post subject:  

Now whenever I click dreamseeker it opens it up in leafpad.
(the shortcut to the shell command)
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Mon 18 Jul 2005, 20:52    Post subject:  

Did you try dragging the originable executable to the desktop.
Back to top
View user's profile Send private message 
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Mon 18 Jul 2005, 20:54    Post subject:  

Yep, It still opens as a text file.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Mon 18 Jul 2005, 21:03    Post subject:  

Does this program work when you click on the executable /root/byond/bin/dreamseeker.
Back to top
View user's profile Send private message 
flamesage guest
Guest


PostPosted: Wed 20 Jul 2005, 16:00    Post subject:  

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?
Back to top
flamesage


Joined: 01 Jul 2005
Posts: 214

PostPosted: Wed 20 Jul 2005, 16:02    Post subject:  

(with the connect.dms that it's trying to open)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0800s ][ Queries: 12 (0.0371s) ][ GZIP on ]