Firefox – Open PDFs Using Evince Instead of Acrobat

evincefirefoxfirefox-extensions

I already installed mozplugger

sudo apt-get install mozplugger

Then I changed the pdf part of /etc/mozpluggerrc into the following:

application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
    repeat noisy swallow(evince) fill: evince "$file"
    ACROREAD()
    repeat noisy swallow(kpdf) fill: kpdf "$file"
    repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
    repeat noisy swallow(okular) fill: okular "$file"
    GV()
    repeat noisy fill exits: evince "$file"

Of course I setted the application settings for pdf to Mozplugger.

Sometimes it works but mostly it dosn't. I don't know why. What do I have to do?

Best Answer

Firefox 15 has a pdf reader integrated with it, it is disabled by default, type about:config, search for "pdfjs.disabled" and set it to "false" double click it. Then go to edit preferences then go to applications search for pdf extension then select to open within firefox that should work for you.