How do you change the default opening application?

Fred Roller froller at tnclimited.com
Wed Aug 5 22:52:45 UTC 2009


On Wed, 2009-08-05 at 15:04 -0700, NoOp wrote:
> On 08/05/2009 09:59 AM, marc wrote:
> > Chris Jones wrote:
> > 
> >> marc wrote:
> >>> Changing the default app for an exisiting mime-type is simple, but
> >>> how do you change the default app for "undefined" mime-types?
> >>> 
> >>> When I open a file in a file manager, I want it to open in
> >>> the appropriate application -- and most of the time it does. When the
> >>> file's mime-type does not have an associated app, I want to open the
> >>> file with my application of choice. How do I change this application?
> >>> 
> >>> The problem I have at the moment is that, somehow, the .chm reader
> >>> application that I have installed has become the "fall back"
> >>> application, which is not a good thing.
> >>
> >> Try right clicking on a file and poke around in the properties. I 
> >> believe in there somewhere you can change the default application 
> >> associated to the file type.
> 
> Right click and select Properties|Open With|Add
> You can then add the application if it's not already there. Select 'Use
> Custom Command to put in the path of the app if it's not listed in your
> applications.
> 
> > 
> > Yup, I know how to do it for a mime-type, it's the undefined cases I
> > need to fix. Thanks anyway.
> > 
> 
> For adding new mime types, perhaps:
> 
> <http://www.google.com/search?complete=0&hl=en&q=ubuntu+%2B"mime-type"&btnG=Google+Search>
> https://help.ubuntu.com/ (enter mime in the search box)
>   https://help.ubuntu.com/community/AddingMimeTypes
> will help?
> 
> 
> 

This should get you started
***Handle with Care****

froller at metis:~$ locate defaults.list
/etc/gnome/defaults.list
/usr/share/applications/defaults.list

defaults.list has your associations you can add your apps here IF you
can't [right click]->Properties->Open With->Add (and if necessary,
Custom).

This link should help:
http://ubuntuforums.org/showthread.php?t=342242

Happy hunting.

-- 
Fred R.
www.fwrgallery.com

"Life is like Linux - simple; if you are fighting it, you are doing
something wrong."






More information about the ubuntu-users mailing list