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 Thu 17 Apr 2014, 20:15
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to create a desktop shortcut to start a program?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
smhardesty


Joined: 30 Aug 2007
Posts: 42
Location: Southeastern Illinois

PostPosted: Fri 31 Aug 2007, 12:14    Post subject:  How to create a desktop shortcut to start a program?  

First things first. Thank you, thank you, thank you. After playing around with various Distros over the past few years, I think I've finally found a real, everyday use, replacement for Windows. I've had Puppy on a laptop and one desktop for a week and I'm thrilled with it.

I do have a newbie type problem I need help with.

I connect to the 'Net via dialup. I had been using toonel.net ( more info at www.toonel.net ) to speed up Internet browsing on my Windows machines. After getting Firefox and JRE 1.5.0_08 installed and working on Puppy, I have been trying to get toonel.net to work. In short, toonel.net is a Java proxy that compresses content to speed web browsing. I can successfully launch toonel by opening an rxvt terminal and issuing this command;

java -jar toonel.jar

I'd like to create a desktop shortcut to execute the command, but I'm too unfamiliar with scripting and Linux commands in general to figure it out. I know there has to be a way to accomplish this. The toonel jar file is presently located in /. Any help will be GREATLY appreciated.
Back to top
View user's profile Send private message 
Everitt

Joined: 19 Dec 2006
Posts: 331
Location: Leeds,UK or Birmingham, UK

PostPosted: Fri 31 Aug 2007, 12:49    Post subject:  

Drag and drop a file to the desktop. It doesn't matter what file, we're just using this as an easy way to create a new icon.

Right click on the icon and select 'edit item'

Enter 'java' in the top box, replacing the path to the file you dropped.

In the box below it (Arguments..) enter '-jar /toonel.jar'

In the third box enter something list 'Start toonel'

Click ok, and you're done. Smile
Back to top
View user's profile Send private message 
smhardesty


Joined: 30 Aug 2007
Posts: 42
Location: Southeastern Illinois

PostPosted: Fri 31 Aug 2007, 13:12    Post subject:  

That didn't seem to work. I get this message;

Arguments (java -jar /toonel.jar) given for non-executable item java
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11049
Location: The Peoples Republic of California

PostPosted: Fri 31 Aug 2007, 14:16    Post subject:  

Make a shell script with the command in it.

You can make it in /root/my-applications/bin to have in also in the search path if you want.

Drag and drop the script to desktop

Find an icon for it and give it what name you want (the script name and desktop name can differ)

-------------

I'm presuming you know how to make a simple script, if not ask.
Back to top
View user's profile Send private message 
smhardesty


Joined: 30 Aug 2007
Posts: 42
Location: Southeastern Illinois

PostPosted: Fri 31 Aug 2007, 19:26    Post subject:  

BINGO!

Thanks, Bruce B. That did it. The only other thing I had to do was edit the properties to allow 'Exec' permission to all. It works great now.

If you haven't tried toonel.net, it really does work well on dialup machines. Speeds browsing up considerably. I particularly like the fact that it doesn't utilize any caching mechanism.

I'm getting more and more comfortable with Puppy with every use. I really hope future development continues to keep Puppy small and agile.
Back to top
View user's profile Send private message 
GrumpyWolfe


Joined: 26 Nov 2006
Posts: 496

PostPosted: Sat 13 Oct 2007, 11:26    Post subject: games
Subject description: jar file
 

Thanks that solve a problem I have been trying to solve
_________________
Live and Let Live

Acer Aspire One N450 1.66GHz

MyWolfe at Sourceforge
MyWolfe Blog
MyWolfe Groups
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 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.0461s ][ Queries: 12 (0.0068s) ][ GZIP on ]