jlegewie / zotfile

Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items, sync PDFs from your Zotero library to your (mobile) PDF reader (e.g. an iPad, Android tablet, etc.), and extract PDF annotations.
4.05k stars 282 forks source link

zotfile.pdfExtraction.openPdfLinux and Zotero 6.0.7 #611

Open rdiaz02 opened 2 years ago

rdiaz02 commented 2 years ago

It seems that zotfile.pdfExtraction.openPdfLinux is not honored? I've tried changing it to use, for example, atril or evince, and it keeps using okular (yes, it displays the page number correctly). Interestingly, if on the general Zotero settings I set "Open PDFs using" to Zotero, then it uses the built-in Zotero reader.

I've tried different ways of doing this: setting zotfile.pdfExtraction.openPdfLinux and extensions.zotfile.pdfExtraction.openPdfLinux , and having evince be called as /usr/bin/evince, /usr/bin/evince-p and /usr/bin/evince -p. In fact, setting it to something silly (/usr/bin/nonexistent) still opens okular.

(Why would I want to do this? To open old notes extracted with Zotfile under Emacs, with pdf-tools https://github.com/vedang/pdf-tools).