LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2011, 10:53 PM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Rep: Reputation: 68
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

and

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.

Regards,
~Jeff
 
Old 01-12-2011, 12:13 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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.
 
  


Reply

Tags
nautilus, nautilusactions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nautilus Flickr Uploader - Incredibly Useful and Simple Nautilus Extension LXer Syndicated Linux News 0 11-09-2010 08:30 AM
Linux file extension vs Dos file Extension? manaa Linux - Newbie 6 02-12-2009 04:19 PM
Associate an extension file to an application jani1982 Linux - Newbie 2 03-31-2008 06:21 AM
which config file stores the application names to run in bash??? shady_Dev Linux - Software 4 01-15-2008 10:00 AM
What is a file with the extension .run and how do I install it? runnerpaul Linux - Newbie 6 03-17-2006 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration