Re: [opensuse] File associations
- From: Wolfgang Rosenauer <wolfgang@xxxxxxxxxxxxx>
- Date: Wed, 12 Dec 2007 08:57:14 +0100
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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] File associations
- From: Jason Craig
- [opensuse] File associations
- Prev by Date: [opensuse] Thunderbird on OpenSuse 10.3 gots no sound!
- Next by Date: Re: [opensuse] Thunderbird on OpenSuse 10.3 gots no sound!
- Previous by thread: Re: [opensuse] File associations
- Next by thread: [opensuse] problems on setting wireless USB (D-Link) DWL-G122-revC
- Index(es):
Relevant Pages
|