Zathura

From Gentoo Wiki
Jump to: navigation, 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

doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
magic Add support for file type detection via magic bytes (usually via libmagic from sys-apps/file)
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

cb Install plug-in for ComicBook support
djvu Support DjVu, a PDF-like document format esp. suited for scanned documents
pdf Add general support for PDF (Portable Document Format), this replaces the pdflib and cpdflib flags
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