View Single Post
  #9 (permalink)  
Old 05-Jul-2009, 04:09
Camaleón
Guest
 
Posts: n/a
Default Re: How to: change "default" filetype apps in firefox?

sexyclient wrote:

> After having said all that and (hopefully) clearing up any and all
> misunderstandings about the nature of the problem, I pose my inquiry yet
> again: How do I go about changing the apps firefox considers "default"
> for certain filetypes?


There is a trick. At least it works for me (openSUSE 10.3 and kde 3.5).

In my case, firefox was using "as default" app for opening pdf
files "kghostscript" and I wanted "kpdf".

I openned "/usr/share/applications/defaults.list" and searched for "any
application to handle pdfs. There was no one defined there so I edited that
file by adding at the bottom:

***
application/pdf=kpdf.desktop
***

Then, I copied "kpdf.desktop" file from "/opt/kde3/share/applications"
to "/usr/share/applications" and restarted firefox.

After that, the default application to handle pdf is now kpdf.

Just give it a try and check if that works for you :-). As you are using kde
4.3 you'll have to adapt the path for the files but the essence is the
same.

BTW, there are some bugzilla reports in Firefox bugzilla for this same
thing. It's a bit annoying the way firefox manages mimetypes. Hope
developers change this soon.

Greetings,

--
Camaleón
Reply With Quote