Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I make Firefox on Kubuntu to open PDF in its embedded PDF viewer, like it does on Windows? Currently it opens PDF's in Okular. Some websites (with embedded PDF's) malfunction because of this behavior.

share|improve this question
    
Possible duplicate: How to embed evince in firefox 4? –  Chan-Ho Suh Apr 18 '12 at 9:19
1  
I doubt it is a duplicate of that one. I just want to use the embedded PDF reader that comes with firefox since version 10 or 11 or so. Currently an external application (Okular) opens. –  jippie Apr 18 '12 at 9:25
    
I'm not sure what embedded reader you're talking about. Someone posted a link below to a beta plugin that is to be released in the next official release. But AFAIK, before that, there is no official Firefox pdf plugin, only addons like from Adobe (which is supposed to be very slow) and the one mentioned in the answer I linked. The Adobe one would not get packaged with the Ubuntu Firefox because it's proprietary. –  Chan-Ho Suh Apr 18 '12 at 9:28
    
Shoot! You are correct, I searched a bit in my Windows Firefox and found a 'Show Adobe Reader Toolbar'. Now I was really convinced Mozilla was packaging its own PDF reader, but I must have been reading a feature list of an upcoming release :( –  jippie Apr 18 '12 at 9:56
    
If you wanted to be adventurous the latest nightly build of Firefox (Firefox 15) comes fully prepared with an inbuilt pdf reader. –  coversnail Apr 27 '12 at 15:56

2 Answers 2

up vote 3 down vote accepted

You can try installing PDF viewer addon in firefox Here is the link: https://addons.mozilla.org/en-US/firefox/addon/pdfjs

share|improve this answer
    
I have installed it on Fx12 (beta) and it works. It isn't polished and won't open password-protected pdfs and falls flat on a few pages but it's certainly sufficient for most purposes. Plus we're helping test it and make it better :) . I notice you mentioned embedded pdfs. I'm not sure about those. Could you provide some links? Even Chrome's PDF reader had some initial issues with embedded PDFs. –  user25656 Apr 18 '12 at 10:30
    
This embed works with Fx 12 and pdf.js –  user25656 Apr 18 '12 at 10:49
    
It works decently (on Firefox 11)... a bit slow, compared to Chrome's plugin, for example, but sufficient for most purposes. –  Chan-Ho Suh Apr 20 '12 at 10:27
    
And just one more link to an embedded pdf that I think loads well with pdf.js. –  user25656 Apr 24 '12 at 13:31

If you want to use the KDE viewer within Firefox, you can use the KParts plugin. To do this, install the kpartsplugin package. From the package description:

This software implements a plugin for Netscape-compatible browsers in Unix environments. This plugin uses KDE's KParts technology to embed file viewers (e.g. for PDF files) into non-KDE browsers. Tested browsers include both (Mozilla Firefox and Opera, and is know to work with Chrome and Arora. With this plugin, you can e.g. view PDF files in Firefox using Okular as an embedded plugin.

Here I've opened a PDF document in Firefox using the embedded Okular KPart:

KParts screenshot

share|improve this answer

Your Answer

 
discard

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.