By default Recoll lets the desktop choose what application should be used to open a given document, with exceptions.
The details of this behaviour can be customised with the
→ → → dialog or by editing
the
mimeview configuration file.
When Use desktop preferences, at the top of the dialog, is checked, the desktop default is generally used, but there is a small default list of exceptions, for MIME types where the Recoll choice should override the desktop one. These are applications which are well integrated with Recoll, for example, on Linux, evince for viewing PDF and Postscript files because of its support for opening the document at a specific page and passing a search string as an argument. You can add or remove document types to the exceptions by using the dialog.
If you prefer to completely customise the choice of applications, you can uncheck Use desktop preferences, in which case the Recoll predefined applications will be used, and can be changed for each document type. This is probably not the most convenient approach in most cases.
The applications choice dialog accepts multiple selections of MIME types in the top section, and lets you define how they are processed in the bottom one.
Some substitutions will be performed on the template command line before execution:
- %f : document file name.
- %i : ipath.
- %l : hit line number.
- %M : MIME type.
- %p : hit page number.
- %S : a possibly multiword matched phrase. Only for simple phrase searches, else as %s.
- %s : a heuristically selected matched term.
- %U : URL of file path.
- %u : URL.
- %(xx) : xx metadata field value.
You may also change the choice of applications by editing
the
mimeview
configuration file if you find this more convenient.
Under Unix-like systems, each result list entry also has a right-click menu with an Open With entry. This lets you choose an application from the list of those which registered with the desktop for the document MIME type, on a case by case basis.

