Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
kb:file_handling_issues [2017/11/12 19:53] – external edit 127.0.0.1kb:file_handling_issues [2019/03/05 18:08] dstillman
Line 1: Line 1:
-<html><p id="zotero-5-update-warning" style="color: red; font-weight: bold">We’re 
-in the process of updating the documentation for 
-<a href="https://www.zotero.org/blog/zotero-5-0">Zotero 5.0</a>. Some documentation 
-may be outdated in the meantime. Thanks for your understanding.</p></html> 
- 
- 
 ====== File Handling Issues ====== ====== File Handling Issues ======
  
 ==== Unexpected behavior (wrong action, gibberish ("%PDF..."), etc.) when opening files from Zotero === ==== Unexpected behavior (wrong action, gibberish ("%PDF..."), etc.) when opening files from Zotero ===
  
-Deleting mimeTypes.rdf from your [[profile directory]] and restarting Firefox or Zotero Standalone is generally what's needed to fix file handling issues. mimeTypes.rdf stores file handling associations and will be recreated automatically the next time you restart Firefox or Zotero Standalone.+Deleting mimeTypes.rdf from your [[profile directory]] and restarting Zotero is generally what's needed to fix file handling issues. mimeTypes.rdf stores file handling associations and will be recreated automatically the next time you restart Zotero.
  
-For Zotero for Firefox, Zotero itself doesn't tell Firefox how to handle a file---it simply checks if a file can be handled within Firefox (natively or via a plugin) and then either sends it to Firefox if so or otherwise launches it via the OS. Problems in mimeTypes.rdf can prevent this from working properly, however.+==== PDFs opening in wrong application on Linux systems ====
  
 +While Zotero uses the system-default PDF reader by default, file handling on Linux can be affected by many settings. If you find that PDFs open in, e.g., Gimp even though you've set the file handler to be Okular in Dolphin/Nautilus/Firefox/etc., the easiest fix is to select a specific PDF reader from the General pane of the Zotero preferences.
  
-==== PDFs opening in wrong application on GNU/Linux systems ==== +If you'd like to keep the setting as "System Default", you can try the following:
-If you find that PDFs open ine.g., Gimp even though you've set the file handler to be Okular in Dolphin/Nautilus/Firefox/what-have-you, this tip might help:+
  
 Open the file Open the file
Line 21: Line 15:
 ~/.local/share/applications/defaults.list ~/.local/share/applications/defaults.list
 </code> </code>
-in your favorite plain-text editor and look for the line "application/pdf=...". Change it to +in text editor and look for the line "application/pdf=...". Change it to 
  
 <code> <code>
Line 52: Line 46:
 application/pdf=Foxit-Reader.desktop application/pdf=Foxit-Reader.desktop
 </code> </code>
 +
 {{tag>kb basics}} {{tag>kb basics}}
kb/file_handling_issues.txt · Last modified: 2022/12/19 21:20 by dstillman