LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2009, 10:39 AM   #1
srs2000
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Rep: Reputation: 0
Puppy Linux - Launch script from desktop


Hi,

I have created a simple script to prompt for a user input for example

read -p "input your name" NAME

now if i run this script from a console sh scriptname is runs fine but what i need to do is to make this launchable from the desktop

I copied a link icon to the deskop but when clicking the link it does nothing, i've fixed this before but have no idea how!

it has execute permission, but it just does not pop up that console window to prompt the user.

Any help much appriciated,

cheers
 
Old 10-12-2009, 10:41 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
did you choose
run in terminal ?
 
Old 10-12-2009, 10:44 AM   #3
srs2000
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Original Poster
Rep: Reputation: 0
hi, sorry to sound stupid but i cant find any run in terminal option?
 
Old 10-13-2009, 06:14 AM   #4
srs2000
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Original Poster
Rep: Reputation: 0
anyone?
 
Old 10-13-2009, 07:14 AM   #5
dracuss
Member
 
Registered: May 2006
Location: Chisinau, Moldova
Distribution: Gentoo, Debian sid
Posts: 151

Rep: Reputation: 29
I think that you could try to put the script on other place, and write a desktop script that executes "xterm -e sh /link/to/your/script"
 
Old 10-14-2009, 03:39 AM   #6
srs2000
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Original Poster
Rep: Reputation: 0
ya that works cheers, im sure its not how i done it before, but who cares it works!

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Time for a New Puppy: Puppy Linux 4.3 LXer Syndicated Linux News 0 09-19-2009 04:20 PM
Bash script to launch a terminal window on another user's desktop Excalibre Linux - Software 7 09-29-2008 02:01 AM
streamtuner will not launch (Puppy 3.01) starkadder Puppy 2 01-07-2008 01:31 AM
Launch a ncftpput script clicking on desktop icon jmanjohn61 Linux - Newbie 3 03-08-2005 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration