firefox+mozplugger+okular still uses acroread

Hi!

acrobat in linux (at least opensuse) is a pain in the ass, so I’vew been using mozplugger+okular to embed pdfs in firefox, but after an update firefox has begun to use acroread for embeded pdfs. I’m trying to figure aout why but I’ve not succed.

My /etc/mozplugerrc has the following:


application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF 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"
#        repeat noisy swallow(epdfview) fill: epdfview "$file"
        GV()
#       repeat noisy fill exits: evince "$file"


And in the firefox settings: aplications-PDF I have

application/pdf -> use mozplugger
application/x-pdf -> use mozplugger

so, how it is possible firefox open the embeded PDF with acroread? Am I missing something?

thank you
regards

Navigate to Edit>Preferences>Manage Add-ons>Plugins (Find the ‘Adobe Reader’ plugin and disable). Does that work OK?

No, now okular opens all the pdf but not embeded. It’ looks like mozplugger is not working but it is enabled in “Manage Add-ons”

I’ve never used mozplugger, but I have seen that the problem may lie with your local config in ~/.mozilla/mozpluggerrc

mozdev.org - mozplugger: index

You may also need to navigate to ~/.mozilla/firefox/…pluginreg.dat and delete this file. When you restart firefox, it will get regenerated.

Hopefully, someone who does use it will drop by and assist.

~/.mozilla/mozpluggerrc doen’t exist but deleting ~/.mozilla/firefox/…pluginreg.dat have solved the problem. Now I’m watching embeded PDF woth okular wich is largely faster than acroread

thanks

Great…glad that worked for you! :slight_smile: