LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2013, 05:48 AM   #1
antlarac
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Execute a shell script when clicking on a certain file extension


Hello,
I am using Fedora 17 and I want to open a certain type of files I have with a shell script I have written when double clicking on them.

Can I include that script in the list of programs to use under the open with tab (in the file properties)?

Is there any other way to associate that file extension with the script?

Thank you,
Antonio
 
Old 01-30-2013, 06:36 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
Desktop Environments have tools for managing it, sometimes associations can also be changed from within a File Manager but what in essence links file types with applications is the MIME type "database".
 
Old 01-30-2013, 09:55 AM   #3
antlarac
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you, I'll look for more details about that.
A.
 
  


Reply


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
[SOLVED] search all the file extension in the system using shell script rajhans Linux - Newbie 1 03-31-2012 11:57 AM
cannot execute script file from shell shahrahulb Linux - General 4 03-04-2008 07:02 AM
How to execute a shell script by clicking on it? foo1234 Linux - Newbie 12 04-18-2007 12:18 AM
Remote Win Bat File execute Shell Script on AIX Server DriveMeCrazy AIX 5 05-26-2004 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration