Possible Duplicate:
How to create script auto run without choose on Ubuntu?

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 ?

link|improve this question
feedback

migrated from stackoverflow.com Jul 22 '11 at 1:30

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by Sathya Sep 1 '11 at 14:11

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

It sounds like you are double clicking on the file form some file explorer. Run it from the command line instead and it should work fine.

If you want to run it from the file explorer, you need to create a launcher:

  • right click on the desktop and click 'Create Launcher'
  • name the launcher
  • put the command you want to run (i.e. your script)
link|improve this answer
feedback