How do I get Chromium to show PDFs using Evince?

Posted by potofcoffee on Ask Ubuntu See other posts from Ask Ubuntu or by potofcoffee
Published on 2012-07-13T13:55:32Z Indexed on 2012/09/04 21:51 UTC
Read the original article Hit count: 231

Filed under:
|

Is there any way to get Chromium to use a mozpluggerrc/evince combination to show PDFs embedded into its own window? Right now, Chromium is just downloading PDFs. I can open them in an external evince window by clicking on the downloaded file.

I am using Chrome 18.0.1025.168 under Ubuntu 12.04 (amd64). Here's the pdf section of my /etc/mozpluggerrc.d/62-documents.conf:

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

mozpluggerrc does show up in about:plugins.

BTW, this works just fine in Firefox.

Note: I am not looking for hints on how to use Google Chrome's PDF plugin in Chromium.

© Ask Ubuntu or respective owner

Related posts about chromium

Related posts about evince