How do I get Chromium to show PDFs using Evince?
- by potofcoffee
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.