LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Rep: Reputation: 33
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: Debian sid + kde 3.5 & 4.4
Posts: 6,823

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 05:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration