Jason Craig wrote:
> Where does Firefox get it's file associations from, anyone know?  I
> click on a PDF link, and Firefox asks if I want to save or open it, and
> the only program that it shows in the "open" dropdown is KGhostView
> (labeled default), which I think is far inferior to KPDF, which usually
> opens my PDFs.  I found the file associations menu in Konqueror,
> browsing my files, so that's nice, but are there some overriding
> settings somewhere?

Firefox gets its file associations through mime-types/mailcap _and_
gnome-vfs (in that order). gnome-vfs knows about KDE applications as
well if they are providing sufficient information for the mime database
and or through desktop files (what is recommended from freedesktop.org
afaik).
So what you actually get depends on different things:
- is the webserver giving you a mime-type?
- what extension has the file you get? (pdf are not always sent as pdf
  but the mime-type sent is actually correct)
- which applications you have installed to handle that mime-type

One thing to add is that gnome-vfs (as the name says) will prefer to
default to gnome and gtk applications but you might be able to change
the default by changing /etc/gnome_defaults.conf.

You can get a log from Firefox why it's finding KGhostView by doing

export NSPR_LOG_MODULES=HelperAppService:5
export NSPR_LOG_FILE=/tmp/helperapp.log
firefox
(clicking that link to your pdf)

HTH,
 Wolfgang

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to