Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ?

share|improve this question

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

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

marked as duplicate by Sathya Sep 1 '11 at 14:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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)
share|improve this answer