Linux – How to create script auto run without choose on Ubuntu

linuxscript

I create a script and when I execute it, a dialog show for me choose one option: Run in Terminal, Display, Cancel and Run. I want run it automatically without choose option. Anybody know how ?

Best Answer

Create a launcher. And it will run or run in terminal depending on what you selected when creating the launcher. I do not know what version of Ubuntu you have. I use Ubuntu 10.10