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 [2010/08/24 11:33]dstillman kb:file_handling_issues [2022/12/19 21:20](current)– [PDFs opening in wrong application on Linux systems]dstillman
Line 1: Line 1:
- ==== File Handling Issues ==== + ====== File Handling Issues======
- ===Gibberish("%PDF...",etc.)or other unexpected behavior188BET靠谱吗when opening files from Zotero === + ==== Unexpected behavior (wrong action, gibberish("%PDF...")188BET靠谱吗, etc.) when opening files from Zotero ===
- Deleting mimeTypes.rdf fromthe[[http://support.mozilla.com/kb/Profiles|Firefoxprofile directory]] 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 restartFirefox. + Deleting mimeTypes.rdf fromyour[[profile directory]]188BET靠谱吗and restarting Zoterois generally what's needed to fix file handling issues.mimeTypes.rdf stores file handling associations and will be recreated automatically the next time you restart188BET靠谱吗.
- 188BET靠谱吗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.ProblemsinmimeTypes.rdf can prevent this from working properly, however. + ==== PDFs openinginwrong application on Linux systems ====
+ 188BET靠谱吗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.,188BET靠谱吗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 liketokeep the setting as "System Default",you can try the following:
- Ifyou find that PDFs open in eg.Gimp even thoughyou've set the file handlertobe Okular in Dolphin/Nautilus/Firefox/what-have-you,this tip might help:openthe file +
+ Openthe file
<code> <code>
~/.local/share/applications/defaults.list ~/.local/share/applications/defaults.list
code> code>
- inyour favorite plaintext editor and look for the line "application/pdf=...", changeit to + inatext editor and look for the line "application/pdf=...".Changeit to
<code> <code>
- application/pdf=kde-okularApplication_pdf.desktop + application/pdf=kde4-okularApplication_pdf.desktop
code> code>
- If the file does not exist,justcreate it and enter the following content: + If the file does not exist, create it and enter the following content:
<code> <code>
[Default Applications] [Default Applications]
+ application/pdf=kde4-okularApplication_pdf.desktop
+ code>
+
+ Note: On some systems, you might need to use
+ <code>
application/pdf=kde-okularApplication_pdf.desktop application/pdf=kde-okularApplication_pdf.desktop
code> code>
+ instead.
+
+
+ For other PDF readers you might use one of the following:
- If you want Evince or Adobe Acrobat instead of Okular, use
<code> <code>
application/pdf=evince.desktop application/pdf=evince.desktop
code> code>
- or
<code> <code>
application/pdf=acroread.desktop application/pdf=acroread.desktop
+ code>
+ <code>
+ application/pdf=Foxit-Reader.desktop
code> code>
- {{tag>kb}} + {{tag>kbbasics}}
kb/file_handling_issues.1282664039.txt.gz· Last modified: 2010/08/24 11:33 by dstillman
Baidu
map