I've been trying to execute a file as a program. I own it and I ticked the box in the permissions and saved it clicked on it again it reopen the editor
How to execute it as a program as it was in Ubuntu 12.10 ?
I've been trying to execute a file as a program. I own it and I ticked the box in the permissions and saved it clicked on it again it reopen the editor
How to execute it as a program as it was in Ubuntu 12.10 ?
First you need to check the file is marked as executable.
In Raring Nautilus (the file manager) by default opens text files in gedit even if they are marked executable.
To change this From the "File" menu select preferences then the "Behaviour" Tab
Now change "Executable Text Files" to either "Run" or "Ask each time" as you prefer.
You only have to do this once.