Paul Mattal wrote:
> So here's an interesting behavior I've noticed, and I've not 
> found the right solution yet. Before I invest a lot of time 
> figuring it out, I thought someone might know.
> 
> When I install acroread and xpdf on a system, it appears that 
> xpdf becomes the "preferred" one for Firefox. That is, when it 
> opens up a dialog asking me what to do with the file, xpdf comes 
> up rather than acroread.
> 
> I like using acroread always. But I like having xpdf around and 
> it also has some other features than the viewer that I use.
> 
> So where is Firefox looking to figure out what's available to 
> handle PDFs and how do I stack the deck against xpdf?
> 
> - P


IIRC, it uses the settings in mimeTypes.rdf to determine which app to 
launch for different mime types:

[EMAIL PROTECTED] ~]$ grep pdf 
.mozilla/firefox/eqwml2qw.default/mimeTypes.rdf
   <RDF:Description RDF:about="urn:mimetype:application/pdf"
                    NC:value="application/pdf"
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
                    NC:path="/opt/kde/bin/kpdf"
                    NC:prettyName="kpdf" />
     <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
   <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
     <NC:externalApplication 
RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
   <RDF:Description 
RDF:about="urn:mimetype:externalApplication:application/pdf"
                    NC:path="/opt/kde/bin/kpdf"
                    NC:prettyName="kpdf" />

If you edit the file 
.mozilla/firefox/<RANDOMLY_GENERATED_ID>.default/mimeTypes.rdf

and remove the XML sections that deal with pdf (and then restart 
firefox) I think it will then prompt you for which helper app to use for 
PDF's.

HTH,

DR

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to