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