Setting scripts to run on double click [SOLVED]

Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sat Jun 08, 2013 12:31 am

Setting scripts to run on double click [SOLVED]

Postby c2the3rd » Sat Jun 08, 2013 12:58 am

I have some bash scripts I would like to run when I double click them.
Currently, double clicking a script brings up a dialog box with four options:
"Run in Terminal, Display, Cancel, Run"

I would like the default option to be "Run" but I can't seem to find the setting for it.

I've made sure I have the correct permissions and the file is marked as executable.
I've tried Right-Click>Properties>Open With so I can open it with a terminal, but the add option is grayed out so I can't add a terminal.

Where is this setting? Can I set the option for individual files instead of just a filetype?

I'm running 15 with Cinnamon.

Last edited by c2the3rd on Sat Jun 08, 2013 5:56 am, edited 1 time in total.

User avatar
Level 24
Level 24
Posts: 21666
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Setting scripts to run on double click

Postby xenopeek » Sat Jun 08, 2013 4:06 am

Nemo > Edit menu > Preferences > Behavior tab > change the setting for "Executable Text Files".

Return to “Scripts & Bash”