openSUSE Forums > Applications » How to: change "default" filetype apps in firefox?

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
Page 2 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-Jul-2009, 15:19
Student Penguin
 
Join Date: Apr 2009
Posts: 57
sexyclient hasn't been rated much yet
Default Re: How to: change "default" filetype apps in firefox?

After snooping a bit, I came up with a little solution that I think is perfect:

In the directory "usr/share/applications/" there are two files, "defaults.list" and "mimeinfo.cache". I just made defaults.list (which is actually a link to "/var/cache/gio-2.0/defaults.list") point to mimeinfo.cache because unlike defaults.list, the mimeinfo.cache also has kde apps and contains all of the correct apps for handling different filetypes -- except in different order (it just couldn't be perfect...) I just rearranged the order of the apps (ie: putting ktorrent first from the left, and transmission to the right of it) and now everything is perfect!!

I don't know what other effects my changes (pointing the defaults.list to mimeinfo.cache) may have, or even why there are so many "lists" that contain different apps to handle different filetypes. There are: (1)defaults.list, which contains only gnome apps, (2)mimeinfo.cache, which contains all the gnome and/or kde apps that I've set to handle different mimetypes but oddly rearranged in a manner that favors gnome apps, and (3)the actual list that KDE uses...

Now all that's left is to find (3) and point all others to it and the universe will find it's balance...
Reply With Quote
  #12 (permalink)  
Old 06-Jul-2009, 13:45
Camaleón
Guest
 
Posts: n/a
Default Re: How to: change "default" filetype apps in firefox?

sexyclient wrote:

> After snooping a bit, I came up with a little solution that I think is
> perfect:
>
> In the directory "usr/share/applications/" there are two files,
> "defaults.list" and "mimeinfo.cache". I just made defaults.list (which
> is actually a link to "/var/cache/gio-2.0/defaults.list") point to
> mimeinfo.cache because unlike defaults.list, the mimeinfo.cache also has
> kde apps and contains all of the correct apps for handling different
> filetypes -- except in different order (it just couldn't be perfect...)
> I just rearranged the order of the apps (ie: putting ktorrent first from
> the left, and transmission to the right of it) and now everything is
> perfect!!
>
> I don't know what other effects my changes (pointing the defaults.list
> to mimeinfo.cache) may have, or even why there are so many "lists" that
> contain different apps to handle different filetypes. There are:
> (1)defaults.list, which contains only gnome apps, (2)mimeinfo.cache,
> which contains all the gnome and/or kde apps that I've set to handle
> different mimetypes but oddly rearranged in a manner that favors gnome
> apps, and (3)the actual list that KDE uses...
>
> Now all that's left is to find (3) and point all others to it and the
> universe will find it's balance...


I see you found a better way to handle this. Congrats! ;-)

Remember that Firefox is more a gnome-like app (gtk based) so it prefers as
default the gnome applications unless any mysterious magic comes into
place... I mean, I really don't know the "magic" behind the scenes that FF
uses to select one or another application for the default mimetypes.

P.S. Sorry for the response delay. I've just seen this message right now
(7/6/2009 20:44 GMT +0200) as it was a nntp little outage :-)

Greetings,

--
Camaleón
Reply With Quote
  #13 (permalink)  
Old 06-Jul-2009, 19:02
Student Penguin
 
Join Date: Apr 2009
Posts: 57
sexyclient hasn't been rated much yet
Default Re: How to: change "default" filetype apps in firefox?

You could've not replied at all, but it still couldn't counter the massive impact your help has caused. Thanks again my fellow chameleon-ite!!

On another note, though, this gtk/gnome firefox for KDE business (and the annoying side-effects of it, such as is the case here) is quite annoying... I just can't wait until the qt firefox port (Qt Port of Mozilla and Firefox 3) gets done. Though I haven't heard anything about it lately, I'm still holding my breath for a release sometime soon.
Reply With Quote
Reply
Page 2 of 2 1 2

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2