Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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 was marked as an exact duplicate of an existing question.

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