Mozplugger is a Firefox plugin that allows you to embed applications that handle various file types in Firefox.
In this post you'll see how to get embedded PDF files in Firefox 3.6 and Firefox 4 (I've tested it in both) - like in Google Chrome (sort of) - using Evince, the Ubuntu default PDF reader.
Get embedded PDF files in Firefox using Evince
1. Install Mozplugger. Ubuntu users can simply click the button below:
Or copy/paste the following command in a terminal:
sudo apt-get install mozplugger2. Only for Ubuntu 10.10. In Ubuntu 11.04, it works without this step (and in fact it won't work if you apply this in Ubuntu 11.04): now you must edit the mozpluggerrc file. To do this, press ALT + F2 and enter:
gedit /home/YOUR_USERNAME/.mozilla/mozpluggerrcAnd in this file, paste 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"Thanks to hhlp @ AskUbuntu for the instructions.
 

 
