Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

When I run a script via GUI, e.g. in Python, I get dialog asking me to confirm that I want to run it or display it. Is there a way i can set this not to happen, and to run it straight from click?

share|improve this question

There sure is. Open Nautilus, then click Edit -> Preferences. On the Behavior tab, select "Run executable text files when they are opened". enter image description here

share|improve this answer
    
Thanks. Does this make it run in the terminal or just run? – Selby Rowley-Cannon Aug 8 '12 at 16:56
    
I believe it just runs w/o terminal. – reverendj1 Aug 8 '12 at 16:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.