Zathura

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Zathura is a free, plugin-based document viewer. Plugins are available for PDF (via poppler or MuPDF), PostScript, DjVu, and EPUB. It was written to be lightweight and controlled with vi-like keybindings.

Installation

USE flags

USE flags for app-text/zathura A highly customizable and functional document viewer

+man Build and install man pages
seccomp Enable seccomp (secure computing mode) to perform system call filtering at runtime to increase security of programs
sqlite Add support for sqlite - embedded sql database
synctex Use libsynctex to get latex codeline from pdf
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

USE flags for app-text/zathura-meta Meta package for app-text/zathura plugins

+pdf Add general support for PDF (Portable Document Format), this replaces the pdflib and cpdflib flags
cb Install plug-in for ComicBook support
djvu Support DjVu, a PDF-like document format esp. suited for scanned documents
postscript Enable support for the PostScript language (often with ghostscript-gpl or libspectre)

Emerge

Install app-text/zathura and app-text/zathura-meta:

root #emerge --ask app-text/zathura app-text/zathura-meta

Usage

If you use xdg-open, you might like to set it to be your default PDF application. First, ensure a desktop entry for zathura exists at /usr/share/applications/org.pwmt.zathura.desktop. Then, set zathura as default using xdg-mime:

user $xdg-mime default org.pwmt.zathura.desktop application/pdf