3

I'm using Google Chrome (not Chromium) on Ubuntu 14.04.

While I could configure Chromium to not open PDF files, and just prompt to save them instead, I couldn't do it with Google Chrome.

No matter what I try, it insists on opening PDF files in its rather pathetic viewer when I click on them.

Is there any way to prevent Google Chrome from opening PDF files?

EDIT: To clarify, I want Chrome to stop opening PDF files and save them instead.

MWB
  • 724

2 Answers2

4

Yes, there is a way. Open this URL chrome://settings/content, scroll down and enable last checkbox. (Open PDF files in the default PDF viewer application) Your PDF files will be downloaded, not opened.

Check this post.

BlueManCZ
  • 543
  • This still opens the files though. I just want to save them (I could, in Chromium). Definitely an improvement though (+1 for that) – MWB Jun 05 '17 at 21:18
  • I don't know, if there is another way. Check this discussion. – BlueManCZ Jun 05 '17 at 22:10
  • And you can always use right mouse click and save link as instead of opening file. – BlueManCZ Jun 05 '17 at 22:46
  • 1
    Yes, that'll work in most cases, although sometimes you only get redirected to a PDF (Save-As gives some "url" or "html" file) – MWB Jun 05 '17 at 22:48
  • ... actually, with this setting, right-clicking opens the PDF file (in the default viewer) anyway. – MWB Jun 12 '17 at 21:39
  • If you disable association between PDF files and your default viewer in your system, files will be only downloaded, not opened. – BlueManCZ Jun 13 '17 at 07:27
0

this will help for sure. The current update of google chrome has enabled default pdf opening and has not given any option to disable it.

[https://askubuntu.com/questions/61641/how-to-change-the-default-program-for-pdf-only-for-current-user][1]