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
kb:file_handling_issues [2013/03/14 01:05] dstillmankb:file_handling_issues [2022/12/19 21:20] (current) – [PDFs opening in wrong application on Linux systems] dstillman
Line 3: Line 3:
 ==== 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 be configured to use the system-default PDF reader, file handling on Linux can be affected by many settings. If you find that PDFs open in, say, Gimp even though you've set the file handler to be Okular in Dolphin/Nautilus/etc., the easiest solution is to choose 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 15: 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 46: Line 46:
 application/pdf=Foxit-Reader.desktop application/pdf=Foxit-Reader.desktop
 </code> </code>
 +
 {{tag>kb basics}} {{tag>kb basics}}
kb/file_handling_issues.1363237528.txt.gz · Last modified: 2013/03/14 01:05 by dstillman