This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Zathura

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This article is a stub. You can help by expanding it.
Resources

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
epub Install plug-in E-Book support
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
root #emerge --ask app-text/zathura-meta

Usage

IF you use xdg-open, you might like to set it to be your default PDF application:

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