This article comes as a useful help for all Linux (Ubuntu) users, which will be presented with a new way of opening PDF files in the browsers compatible with this operating system. First of all, most of you probably know that Google Chrome is capable of doing this by default, without the user being required to make a particular setting.
However, Firefox does not currently have this built in feature, so it needs some help (usually in the form of a plugin) in order to open the PDF files you download or see online. In addition to the official plugin from Adobe (which contains numerous bugs and can sometimes be really annoying because if its way of loading PDFs), there is the option known under the name of Mozplugger. This is actually a plugin that allows the integration of different applications with the Firefox browser so that it can open some files not recognized automatically by default. If you want to install Mozplugger, the following simple steps are required and can be done by anyone.
After installing Mozzplugger, the following text muse be written in mozpluggerrc:
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”
After making these changes, a restart is totally recommended. If you do not restart your browser right after that, changes might not take the desired effects. You will surely enjoy everything this great plugin has to offer. Not only will you be able to read PDFs directly in your browser, but there will also be some extra formats that you never thought they could be read directly from Firefox.