LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to execute a shell script in GUI by double click (https://www.linuxquestions.org/questions/programming-9/how-to-execute-a-shell-script-in-gui-by-double-click-374187/)

kamesh156 10-18-2005 04:20 AM

how to execute a shell script in GUI by double click
 
i have a set of flash swf files. if i open a strat.swf file the links r not working. so i wrote a shell script to inclde the file path and invoke the start.swf file with the help of flash player.

cd /home/myfolder
./flashplyer start.swf

and i gave the executable permission to that .sh file. my problem is while click the .sh file it is giving the options Run,Run in Terminal,Display and Cancel. how to avoid the message box and directly run the .sh file or any other way to do this?

free_ouyo 10-18-2005 05:25 AM

how to execute a shell script in GUI by double click
 
Hello,

If you use Gnome, you can create a "launcher" on the desktop and it will run the script by double click.
--
free_ouyo


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