Page 1 of 1

Nautilus: Textfiles won't open on double click

Posted: Wed May 14, 2008 8:22 pm
by ^rooker
[PROBLEM]
Running Ubuntu Dapper Drake, I double-clicked on a textfile in Gnome's Nautilus - nothing happened. WTF?

Right-click only offered "Open" and "Open with...".

Other textfiles simply opened in Text-Editor upon double-clicking, but their context-menu also displayed "Open with Text-Editor" as default (first) entry.


[SOLUTION]
The "problematic" textfiles were marked as executable, thus Nautilus obviously tried to execute rather than open them.

Simply remove the "execute" flag of these files: Either right-click in Nautilus, select "Permissions" and uncheck "execute" - or in the commandline:

Code: Select all

chmod -x filename
(and replace "filename" with the problematic file)