Skip to content

PDF viewer integration

Darren Li edited this page Nov 27, 2024 · 1 revision

Docfd guesses the default PDF viewer based on the output of xdg-mime query default application/pdf, and invokes the viewer either directly or via flatpak depending on where the desktop file can be first found in the list of directories specified by $XDG_DATA_DIRS.

Docfd opens the file to the first page of the search result and starts a text search of the most unique word of the matched phrase within the same page for the following viewers:

  • okular
  • evince
  • xreader
  • atril

Docfd opens the file to the first page of the search result for the following viewers:

  • mupdf
Clone this wiki locally