Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to open a PDF in a Firefox tab. I've been able to do it with MozPlugger before updating to 11.10.

preferences -> applications

now scroll down, then I see always ask next to file.

I guess I need to change always ask to MozPlugger. To do that I need to find out where MozPlugger is. However, it wasn't in .mozilla.

Am I doing the right thing? How can I find out where MozPlugger is?



sudo gnome-open /etc/mozpluggerrc # need to be root to edit

Find a pdf block and change to the following:

application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
application/x-postscript: ps: PostScript file
application/postscript: ps: PostScript file
    repeat noisy swallow(evince) fill: evince "$file"

Open firefox's help -> Troubleshooting Information -> Click on Open Containing Folder -> Delete pluginreg.dat (You may need to delete your local $HOME/.mozilla/firefox/pluginreg.dat file for mozplugger to be enabled correctly after you update it. (It will get regenerated))

The last step was necessary for me.

share|improve this question
up vote 2 down vote accepted

Here is a fix that might not apply to your problem. It did solve my similar issue.

Checking you have the same problem :

  • Type about:plugins in a firefox adress bar.
  • Search for a MozPlugger category.

If you have the same problem I had they should be no such category.

Solving the problem :

  • open firefox's help -> Troubleshooting Information
  • Click on Open Containing Folder
  • Edit pluginreg.dat
  • At the end of the file, in a category called [INVALID], you should find 2 lines ressembling this :
  • Cut those lines and paste them just under the [PLUGINS] category.

Restart firefox and everything should be fixed.

share|improve this answer
In about:plugins there was the MozPlugger category, though pdf was not mentioned there. – Robin002 Oct 22 '11 at 2:29
In pluginreg.dat there was nothing under [invalid]. – Robin002 Oct 22 '11 at 2:29
However, in about:plugins, I found it says "For documentation on how to configure mozplugger, check the man page. (type man mozplugger)". – Robin002 Oct 22 '11 at 2:30
In man mozplugger, it suggests to edit mozpluggerrc. So I googled mozpluggerrc and found the fragments of solution. – Robin002 Oct 22 '11 at 2:30
@Robin002 well done finding a fix to your problem ! :) – danjjl Oct 22 '11 at 8:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.