I can't open PDF's
Please help! I cannot open my PDF files in either Zotero version (online and standalone)
I have done pretty much everything. My last option is to reset but I am afraid that I will lose my PDF.
I have done pretty much everything. My last option is to reset but I am afraid that I will lose my PDF.
Don't reset anything.
I'm using
Zotero 5.0.69
in Linux Mint 19
Firefox 67.0.4 (Mozilla for Linux Mint 1.0)
Zotero Preferences/General/File Handling/Open PDF's using drop down is set at System Default
When I click on pdf file in linux mint directory it opens in Xreader
If I put in a URL to the file in firefox it also opens the pdf file without a problem
when I click on a record in Zotero it open up the Help application and consequently the PDF isn't opened.
I recall earlier getting asked which application to use to open a PDF and the only application option I was given was the help application (with a lifesaver ring icon).
Now I'm not asked which application to use it just automatically uses the help application.
please help
t
I did look at the defaults.list file.
The relevant line reads:
"application/pdf=xreader.desktop;evince.desktop;atril.desktop"
so this appears to direct to the correct application.
t
Is selecting a custom app in Zotero not an option?
t
in /home/tomislav/.var/app/org.zotero.Zotero/config/mimeapps.list
and the file contents in text editor was:
"[Added Associations]
application/pdf=yelp.desktop;"
t
~/.local/share/applications
/usr/local/share/applications
/usr/share/applications
Beyond that, linux applications are absolutely accessible as files. That's how they're launched. They just don't have a .exe file extension.
in the /home/tomislav/.var/app/org.zotero.Zotero/config/mimeapps.list
I replaced
""[Added Associations]
application/pdf=yelp.desktop;"
with
"[Added Associations]
application/pdf=evince.desktop;"
and now when I click on a file Zotero actually provides me with a list of relevant applications
e.g. "Evince, document viewer, GIMP, Libre Draw" etc.
when I select one of these file opens correctly.
This is a big improvement. However it would be nice to not have to select a program every time.
I don't know how to make one of these the default...
t
If you can't select the .desktop file from the dialog, open evince.desktop with a text editor. That will have the file path to the executable. I'm afraid that's about as much support we can provide here. These are really fairly generic linux issues and you're probably better of on a distro-specific support forum.
within linux mint I was able to locate the executable files as you suggested. They were in:
/usr/share/applications
here I was for instance able to find Document Viewer application which launches when I click on it
however when I select custom app and I take the "Choose Application" dialogue to
/usr/share/applications
the list of applications is a much shorter and even different list. It's a short list of 12 .desktop files. The Document Viewer application is not in this list and neither are any of the other many applications.
My guess is that Zotero is not accessing the /usr/share/applications folder as a root user. I'm not sure how I can give Zotero permission to access the folder as a root user....perhaps this is a linux mint issue, I'm not sure
thanks again for all of your help.
t
I find the file I mentioned previously within
/usr/share/applications
when I request properties of this file I get the following:
Name: Document Viewer
Command: evince %U
Comment: View multi-page documents
Type: Text (application/x-desktop)
Size: 1.2 kB (1,215 bytes)
Location: /usr/share/applications
Volume: unknown
as mentioned above, I am not able to see this file in the zotero choose application dialogue....maybe because of an incorrect type?
t
When I right click a pdf file in linux mint I get an 'open with' option. When I select 'other application' I get a dialogue "Open with" with the instruction 'Select an application in the list...'
The list has three sections/headings:
1) Default Application with Document Viewer listed
2) Recommended Applications with:
- Libre Office Draw
- GIMP
- PDF Mod
listed
3) Other Applications
with basically a list of all my applications
The options I get when I click on a file in Zotero is the same as items 1) and 2) above which makes me think that there is a bug in Zotero where rather than selecting the default application when I have System Default selected as the Zotero file handling option it selects the linux default application as well as the recommended applications
It may be a linux list configuration issue, or perhaps Zotero is not selecting the correct list
thanks
t
Report ID: 73364505
The error was actually not a real error, it was an error produced when I forced Zotero to select a non-executable file under custom files option as the Zotero filing handling option.
t