Nautilus: Textfiles won't open on double click

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1484
Joined: Fri Aug 29, 2003 8:39 pm

Nautilus: Textfiles won't open on double click

Post 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)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply