From 6fdb19700b0ca783de5469525f2b35885fcc01f8 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 18 Apr 2022 18:23:16 +0200 Subject: [PATCH] windows mimeview comments --- src/windows/mimeview | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/windows/mimeview b/src/windows/mimeview index 72dc53f8..448ad64b 100644 --- a/src/windows/mimeview +++ b/src/windows/mimeview @@ -19,14 +19,21 @@ text/html|epub = rclstartw %F;ignoreipath=1 application/x-fsdirectory|parentopen = rclstartw %f inode/directory|parentopen = rclstartw %f -# Examples for PDF. These can be set from the GUI preferences "editor applications" section. Select +# PDF examples. These can be set from the GUI preferences "editor applications" section. Select # application/pdf, check "exception to desktop preferences, and enter something similar to the below -# values. -# Evince is the only application which lets you specify a search string on the command line. The -# exact command value will need some tweaking (user name and version number). +# values. +# +# Evince: this is usually installed with a version-specific path and in the user directory, so the +# exact command value will need some tweaking (user name and version number). application/pdf = C:/users/bill/appdata/local/apps/evince-2.32.0.145/bin/evince --page-index=%p --find=%s %f +# SumatraPDF: no search string #application/pdf = "C:/Program Files/SumatraPDF/SumatraPDF.exe" -page %p %f +# Foxit: no search string #application/pdf = "C:/Program Files (x86)/Foxit Software/Foxit Reader/FoxitReader.exe" %f /A page=%p +# PDFXEdit: supports a search string, but beware, the following only works after version 1.32.1, +# previous ones can't process the semi-colon in the options +#application/pdf = "C:/Program Files/Tracker Software/PDF Editor/PDFXEdit.exe" /A "page=%p;search=%s" "%f" + ########## # Other MIME types have no specializations on Windows, but the types need to be listed for an "Open"