LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Puppy Linux - Launch script from desktop (https://www.linuxquestions.org/questions/linux-newbie-8/puppy-linux-launch-script-from-desktop-761385/)

srs2000 10-12-2009 10:39 AM

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

repo 10-12-2009 10:41 AM

did you choose
run in terminal ?

srs2000 10-12-2009 10:44 AM

hi, sorry to sound stupid but i cant find any run in terminal option?

srs2000 10-13-2009 06:14 AM

anyone?

dracuss 10-13-2009 07:14 AM

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"

srs2000 10-14-2009 03:39 AM

ya that works cheers, im sure its not how i done it before, but who cares it works!

thanks


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