Nautilus Always Run Certain File Extension as an Application
I was wondering if it is possible to have the nautilus file manager always treat files ending in a certain extension as an executable program without:
a.) Having to chmod +x the file to make it executable
b.) Having to select "run" from the four options nautilus normally presents when double clicking on a script
Is this possible? In short - I'd like to simply be able to double click on any file that ends in a certain extension and have it simply run.
As for a), no. Permissions are a function of the underlying *nix OS, not a file manager option. And why would you want that anyway? Talk about a security hole.
For b), I don't know. That depends on how Nautilus handles it's file associations. Most file managers work by mime-type, though, rather than filename, so probably not. And this is as it should be, because filename extensions are a terrible thing to rely on when determining what a file actually is, and *nix doesn't generally do that.
|All times are GMT -5. The time now is 07:21 PM.|