ZATHURA(1)
π NAME π
okay so bestie, this is the manual page for zathura(1) β literally a document viewer. that's the name section, but stay for the rest because it's lowkey iconic.
π SYNOPSIS π
the whole launch vibe is:
zathura [-c PATH] [-d PATH] [-p PATH] [-w PASSWORD] [-P NUMBER] [--fork]
[-l LEVEL] [-s] [-x CMD] [--synctex-forward INPUT] [--synctex-pid PID]
[-find STRING] <files>
tiny note: -s is chillin' in that synopsis, and this page doesn't give it an options-list description, so I'm not gonna invent lore. periodt π
β¨ DESCRIPTION β¨
zathura is a highly customizable and functional document viewer. it gives you a minimalistic and space-saving interface, plus easy usage that mainly focuses on keyboard interaction. keyboard main character energy, fr fr.
zathura displays the given files. if a single hyphen-minus (-) is given as file name, the content will be read from the standard input. if no files are given, an empty zathura instance launches.
π OPTIONS π
every flag, every vibe, no skipping:
-c,--config-dir=pathβ path to the config directory.-d,--data-dir=pathβ path to the data directory.-p,--plugins-dir=pathβ path to the directory containing plugins.-w,--password=passwordβ the document's password. if multiple documents are opened at once, the password will be used for the first one, andzathurawill ask for the passwords of the remaining files if needed.-P,--page=numberβ opens the document at the given page number. pages are numbered starting with1, and negative numbers indicate page numbers starting from the end of the document,-1being the last page.-f,--find=stringβ opens the document and searches for the given string.-l,--log-level=levelβ set log level (debug,info,warning,error).-x,--synctex-editor-command=commandβ set the SyncTeX editor command. overrides thesynctex-editor-commandsetting.--synctex-forward=inputβ jump to the given position. the switch expects the same format as specified forsynctex'sview-i. if no instance is running for the specified document, a new instance will be launched (only if--synctex-pidis not specified).--synctex-pid=pidβ instead of looking for an instance having the correct file opened, try only the instance with the given PID. note that if the given PID does not have the correct file open or does not exist, no new instance will be spanned.--mode=modeβ start in a non-default mode.--forkβ fork into background.--versionβ display version string and exit.--helpβ display help and exit.
π±οΈβ¨οΈ MOUSE AND KEY BINDINGS β¨οΈπ±οΈ
the keyboard is the main character here, and the mouse has its moments too.
π General π
J,PgDnβ go to the next page.K,PgUpβ go to the previous page.h,k,j,lβ scroll to the left, down, up or right direction.Left,Down,Up,Rightβ scroll to the left, down, up or right direction.^t,^d,^u,^yβ scroll a half page left, down, up or right.t,^f,^b,space,<S-space>,yβ scroll a full page left, down, up or right.gg,G,nGβ goto the first, the last or the nth page.Pβ snaps to the current page.H,Lβ goto top or bottom of the current page.^o,^iβ move backward and forward through the jump list.^j,^kβ bisect forward and backward between the last two jump points.^c,Escapeβ abort.a,sβ adjust window in best-fit or width mode./,?β search for text.n,Nβ search for the next or previous result.o,Oβ open document.fβ follow links.Fβ display link target.cβ copy link target into the clipboard.:β enter command.rβ rotate by 90 degrees.Meta-rβ rotate page by 90 degrees.^rβ recolor (grayscale and invert colors).Rβ reload document.Tabβ show index and switch to Index mode.dβ toggle dual page view.Dβ cycle opening column in dual page view.F5β switch to presentation mode.F11β switch to fullscreen mode.^mβ toggle inputbar.^nβ toggle statusbar.Escapeβ hide notification bar.+,-,=β zoom in, out or to the original size.zI,zO,z0β zoom in, out or to the original size.n=β zoom to sizen.mXβ set a quickmark to a letter or numberX(may conflict with default action ofX, e.g.'O'or'P').'Xβ goto quickmark saved at letter or numberX.qβ quit.wβ toggle single-page mode.
πͺ Fullscreen mode πͺ
J,Kβ go to the next or previous page.space,<S-space>,<BackSpace>β scroll a full page down or up.gg,G,nGβ goto the first, the last or the nth page.^c,Escapeβ abort.F11β switch to normal mode.+,-,=β zoom in, out or to the original size.zI,zO,z0β zoom in, out or to the original size.n=β zoom to sizen.qβ quit.
π€ Presentation mode π€
space,<S-space>,<BackSpace>β scroll a full page down or up.^c,Escapeβ abort.F5β switch to normal mode.qβ quit.
π Index mode π
k,jβ move to upper or lower entry.Up,Downβ move to upper or lower entry.^u,^dβ scroll and move up or down by half a screen.l,Right,zoβ expand entry.zOβ expand entry recursively.L,zRβ expand all entries.h,Left,zcβ collapse entry.zCβ collapse entry recursively.H,zMβ collapse all entries.space,Return,^jβ select and open entry.gg,Gβ goto the first or last entry.Tab,Escape,^[,^cβ hide index and switch to normal mode.
π±οΈ Mouse bindings π±οΈ
Scrollβ scroll up or down.^Scrollβ zoom in or out.Drag Button2 (middle button drag)β pan the document.Button1 (left click)β follow link.Drag Button1β select text.Drag S-Button1β highlight region.Button3 (right click)β open popup menu to copy/save image (activates for images recognized byexportcommand).
π» COMMANDS π»
bmarkβ save a bookmark.bdeleteβ delete a bookmark.blistβ list bookmarks.bjumpβ jump to given bookmark.jumplistβ show recent jumps in jumplist (by default last5). optional argument specifies number of entries to show. negative value"-N"shows all except the first"N"entries.markβ set a quickmark.delmarksβ delete a quickmark. abbreviation:delm.closeβ close document.quitβ quitzathura. abbreviation:q.execβ execute an external command.$FILEexpands to the current document path,$PAGEto the current page number, and$DBUSto the bus name of the D-Bus interface. alias:!(space is still needed after).infoβ show document information.openβ open a document. abbreviation:o.offsetβ set page offset.printβ print document.write(!)β save document (and force overwriting). alias:save(!).exportβ export attachments. first argument specifies the attachment identifier (use completion withTab), second argument gives the target filename (relative to current working directory).dumpβ write values, descriptions, etc. of all current settings to a file.sourceβ source a configuration file. it is possible to change the config directory by passing an argument.hlsearchβ highlight current search results.nohlsearchβ remove highlights of current search results. abbreviation:nohl.versionβ show version information.
π οΈ CONFIGURATION π οΈ
the default appearance and behaviour of zathura can be overwritten by modifying the zathurarc file (default path: ~/.config/zathura/zathurarc). for a detailed description please consult zathurarc(5).
π§ SYNCTEX SUPPORT π§
both SyncTeX forward and backwards synchronization are supported by zathura. to enable SyncTeX forward synchronization, please look at the --synctex-forward and --synctex-editor options. zathura will also emit a signal via the D-Bus interface. to support synctex backwards synchronization, zathura provides a D-Bus interface that can be called by the editor. for convince, zathura also knows how to parse the output of the synctex view command. it is enough to pass the arguments to synctex view's -i option to zathura via --synctex-forward, and zathura will pass the information to the correct instance.
for gvim forward and backwards synchronization support can be set up as follows: first add the following to the vim configuration:
function! Synctex()
execute "silent !zathura --synctex-forward " . line('.') . ":" . col('.') . ":" . bufname('%') . " " . g:syncpdf
redraw!
endfunction
map <C-enter> :call Synctex()<cr>
then launch zathura with:
zathura -x "gvim --servername vim -c \"let g:syncpdf='$1'\" --remote +%{line} %{input}" $file
some editors support zathura as viewer out of the box:
- LaTeXTools for SublimeText (
https://latextools.readthedocs.io/en/latest/available-viewers/#zathura) - LaTeX for Atom (
https://atom.io/packages/latex)
π± ENVIRONMENT VARIABLES π±
ZATHURA_PLUGINS_PATHβ path to the directory containing plugins. this directory is only considered if no other directory was specified using--plugins-dir.
π‘οΈ SANDBOX π‘οΈ
the zathura-sandbox binary runs zathura with a seccomp and/or landlock based sandbox enabled. some features are disabled when using sandbox mode:
- saving/writing files
- use of input methods like ibus
- printing
- bookmarks and history
- D-Bus integration
- SyncTeX support
- accessibility support
the sandbox mode is still experimental with some libc implementations. the current supported and tested libc implementation is glibc.
π KNOWN BUGS π
if GDK_NATIVE_WINDOWS is enabled you will experience problems with large documents. in this case zathura might crash or pages cannot be rendered properly. disabling GDK_NATIVE_WINDOWS fixes this issue. the same issue may appear, if overlay-scrollbar is enabled in GTK_MODULES.
π SEE ALSO π
zathurarc(5)β go read it next, bestie.
ποΈ Author ποΈ
pwmt.org
Β©οΈ Copyright Β©οΈ
2009-2026, pwmt.org
that's the whole zathura(1) manual, from zathura version 2026.10.23, dated 2026-10-23 β mwah, bye bestie! π«Άπ
π¦ where this page comes from
- arch rolling: zathura 2026.10.23-2 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms