2

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 ?

Warren Hill
  • 22,112
  • 28
  • 68
  • 88

1 Answers1

7
  1. First you need to check the file is marked as executable.

  2. 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.

Warren Hill
  • 22,112
  • 28
  • 68
  • 88