Saturday, 8 June 2013

Bash script with execution permissions won't run with dbl click

Bash script with execution permissions won't run with dbl click

I have a bash script that has permission to execute, but when I double click it in nautilus it wont execute, instead it opens its text in gedit. In properties it says open with: gedit, and that doesn't change when I click the reset button What do I have to do to make it execute? I'm running Ubuntu 13.04, I never had an issue like this one with 12.04 or with any other distribution in general.
EDIT If I go in terminal and type: ./bashscriptname it runs just fine.

No comments:

Post a Comment