Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.