<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yelmaz</title>
    <description>The latest articles on DEV Community by Yelmaz (@yelmaz).</description>
    <link>https://dev.to/yelmaz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3928023%2F6fd50cf3-d937-4c82-a6f1-fe9b437d4699.jpg</url>
      <title>DEV Community: Yelmaz</title>
      <link>https://dev.to/yelmaz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yelmaz"/>
    <language>en</language>
    <item>
      <title>How I Wrote a SOC-Grade Endpoint Investigation Playbook Without Being a Security Engineer</title>
      <dc:creator>Yelmaz</dc:creator>
      <pubDate>Tue, 02 Jun 2026 18:50:44 +0000</pubDate>
      <link>https://dev.to/yelmaz/how-i-wrote-a-soc-grade-endpoint-investigation-playbook-without-being-a-security-engineer-mc</link>
      <guid>https://dev.to/yelmaz/how-i-wrote-a-soc-grade-endpoint-investigation-playbook-without-being-a-security-engineer-mc</guid>
      <description>&lt;p&gt;My father worked in IT for over thirty years, and growing up around that shaped how I thought about computers. The earliest memory I have is sitting in my father's lap as he does something on his computer. One of the oldest photos I have is of me sitting on a chair in front of a computer. I grew up idolizing him. I switched to Linux when I was 12, by myself. I taught myself scripting, picked up programming basics, and spent more time in a terminal than most adults I knew. I have memories of sitting on the roof at 13 with my laptop, trying to crack my neighbor's WiFi with aircrack-ng (they were aware of my endeavors).&lt;/p&gt;

&lt;p&gt;However, growing up in a politically volatile neighborhood (Lyari) also made me politically aware and literate from a young age. With that, I developed an interest in political science and philosophy. I sat my A levels in economics and sociology, and I did not look back. For the next few years, the technical side of my life became just a habit rather than a professional direction.&lt;/p&gt;

&lt;p&gt;Then I realized I do not have to choose one or the other. I can carry on doing both. Today, I am an academic and technical editor. The social sciences gave me the writing skills: reading long blocks of dense theory, explaining abstract concepts in plain language, writing long analytical essays. And I understand technical concepts well enough to work with them seriously. I thought of synthesizing both.&lt;/p&gt;

&lt;p&gt;When I started building a technical writing portfolio, cybersecurity documentation felt like a natural place to go. Not because I had operational experience, but because I had grown up adjacent to that world. I understood the culture, the tooling, and the mindset, even if I had never worked a SOC shift. I knew I wanted to cover security documentation. Security teams produce some of the most consequential written work in any organization, and most of it is poorly structured, inconsistently formatted, or written for the person who already knows the answer rather than the person who needs to act.&lt;/p&gt;

&lt;p&gt;The question was whether my background was enough to write something credible.&lt;/p&gt;

&lt;p&gt;Here is what the process actually looked like.&lt;/p&gt;




&lt;h2&gt;
  
  
  Start With What You Actually Know
&lt;/h2&gt;

&lt;p&gt;My Linux experience gave me a foundation that pure writers would not have. I understood what &lt;code&gt;ps aux&lt;/code&gt;, &lt;code&gt;netstat&lt;/code&gt;, and &lt;code&gt;journalctl&lt;/code&gt; output looks like. I knew what a suspicious cron job entry means, and why volatile state needs to be captured before anything else. I was not guessing at the commands or pretending to understand the output.&lt;/p&gt;

&lt;p&gt;That is not the same as operational experience, but it is not nothing either. It meant I could write the procedural steps accurately and understand why their order matters.&lt;/p&gt;




&lt;h2&gt;
  
  
  Research the Structure Before the Content
&lt;/h2&gt;

&lt;p&gt;Before writing a single line of the playbook, I spent time reading publicly available incident response frameworks, SANS documentation, and real SOC runbooks that organizations have open-sourced. I was not looking for content to copy. I was looking to understand what a well-structured investigation workflow looks like, what sections it needs, and what decisions an analyst has to make at each stage.&lt;/p&gt;

&lt;p&gt;The structure I settled on followed the investigation sequence: volatile state capture first, then process and network analysis, then persistence checks, then evidence preservation and chain of custody. Each section answers a specific question the analyst needs to answer before moving to the next.&lt;/p&gt;




&lt;h2&gt;
  
  
  Get It Verified by Someone Who Has Done the Work
&lt;/h2&gt;

&lt;p&gt;This is the part that mattered most. My brother is a DFIR professional. I gave him the draft and asked him to read it as if he were walking into an actual incident. He approved it on the first read, with only minor notes.&lt;/p&gt;

&lt;p&gt;That verification step is what separates a document that looks like a playbook from one that would actually hold up in use. I could not have provided that myself. Knowing that I needed it, and finding someone qualified to provide it, was part of the work.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Process Taught Me About Security Documentation
&lt;/h2&gt;

&lt;p&gt;Most security documentation fails for the same reasons most documentation fails: it assumes too much prior knowledge, it buries critical steps inside walls of prose, and it is written for the person who already knows the answer rather than the person who needs to act under pressure.&lt;/p&gt;

&lt;p&gt;A good investigation playbook is not a knowledge dump. It is a decision support tool. Every section should answer a specific question, every step should have a clear expected output, and the analyst should never have to wonder what to do next.&lt;/p&gt;

&lt;p&gt;That principle does not require operational experience to apply. It requires understanding how people use documents under pressure, which is what technical writers are supposed to be good at.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Playbook Is in My Portfolio
&lt;/h2&gt;

&lt;p&gt;If you want to see the finished document, it is in my &lt;a href="https://github.com/Yelmaaz/technical-writing-portfolio" rel="noopener noreferrer"&gt;technical writing portfolio on GitHub&lt;/a&gt;. I am happy to discuss the structural decisions behind it in the comments.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>linux</category>
      <category>documentation</category>
      <category>security</category>
    </item>
    <item>
      <title>Zathura: The PDF viewer that stays out of your way</title>
      <dc:creator>Yelmaz</dc:creator>
      <pubDate>Tue, 02 Jun 2026 18:05:36 +0000</pubDate>
      <link>https://dev.to/yelmaz/zathura-the-pdf-viewer-that-stays-out-of-your-way-3j8p</link>
      <guid>https://dev.to/yelmaz/zathura-the-pdf-viewer-that-stays-out-of-your-way-3j8p</guid>
      <description>&lt;p&gt;Most PDF viewers are designed around the assumption that you want a toolbar, a sidebar, and a menu bar. Evince gives you all three. Okular gives you even more. They are perfectly functional applications, and for many people they are the right choice.&lt;/p&gt;

&lt;p&gt;Zathura makes a different assumption. It opens your document, gets out of the way, and waits for keyboard input.&lt;/p&gt;

&lt;p&gt;No toolbar. No sidebar. No menu. Navigation, search, zoom, and everything else happens through a small set of commands that take an afternoon to learn and become muscle memory within a week. Once they do, opening a heavy GUI viewer starts to feel like unnecessary friction.&lt;/p&gt;

&lt;p&gt;Zathura supports PDF, EPUB, DjVu, PostScript, and comic book archives depending on which plugins you have installed. It integrates with SyncTeX for LaTeX workflows, supports a sandbox mode for untrusted documents, and is configurable through a plain text file.&lt;/p&gt;

&lt;p&gt;The official documentation covers launch flags and configuration options. What it does not cover is how zathura actually works as a tool: what the mode system means, which settings are worth changing, and why things sometimes look wrong. This reference fills that gap.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is Zathura and Who Is It For
&lt;/h2&gt;

&lt;p&gt;Zathura is a minimalist document viewer for Linux. It opens PDFs, EPUBs, DjVu files, PostScript documents, and other formats depending on which plugins are installed. The interface has no toolbar, no menu bar, and no sidebar by default. Navigation, search, zoom, and everything else is handled through the keyboard.&lt;/p&gt;

&lt;p&gt;This makes zathura fast and distraction-free, but it requires learning a small set of commands before it becomes comfortable. The learning curve is short — most users are productive within a session or two.&lt;/p&gt;

&lt;p&gt;Zathura is a good fit for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reading academic papers and technical documentation&lt;/li&gt;
&lt;li&gt;LaTeX users who want tight editor integration via SyncTeX&lt;/li&gt;
&lt;li&gt;Users who prefer keyboard-driven workflows&lt;/li&gt;
&lt;li&gt;Anyone who finds heavier PDF viewers (Okular, Evince) slower than they need&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is not a good fit for filling PDF forms, annotating documents extensively, or viewing complex interactive PDFs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Arch Linux
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; zathura zathura-pdf-mupdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;zathura-pdf-mupdf&lt;/code&gt; plugin is the most commonly used PDF backend. Alternatively, &lt;code&gt;zathura-pdf-poppler&lt;/code&gt; is available if you prefer the poppler rendering engine.&lt;/p&gt;

&lt;p&gt;For additional format support:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; zathura-djvu       &lt;span class="c"&gt;# DjVu support&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; zathura-ps         &lt;span class="c"&gt;# PostScript support&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; zathura-cb         &lt;span class="c"&gt;# Comic book archives&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Debian / Ubuntu
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;zathura
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Fedora
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf &lt;span class="nb"&gt;install &lt;/span&gt;zathura zathura-pdf-mupdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  macOS (via Homebrew)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install &lt;/span&gt;zathura
brew &lt;span class="nb"&gt;install &lt;/span&gt;zathura-pdf-mupdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  The Mode System
&lt;/h2&gt;

&lt;p&gt;This is the most important thing to understand about zathura before using it.&lt;/p&gt;

&lt;p&gt;Zathura operates in four distinct modes. What your keyboard does depends entirely on which mode you are currently in. If zathura behaves unexpectedly, the first question to ask is: which mode am I in?&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mode&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;How to Enter&lt;/th&gt;
&lt;th&gt;How to Exit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Normal&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Navigation, zoom, search, most commands&lt;/td&gt;
&lt;td&gt;Default on launch&lt;/td&gt;
&lt;td&gt;Already here; press &lt;code&gt;Escape&lt;/code&gt; if unsure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Index&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Browse the document's table of contents&lt;/td&gt;
&lt;td&gt;Press &lt;code&gt;Tab&lt;/code&gt; from Normal&lt;/td&gt;
&lt;td&gt;Press &lt;code&gt;Tab&lt;/code&gt; or &lt;code&gt;Escape&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Fullscreen&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Distraction-free reading, limited controls&lt;/td&gt;
&lt;td&gt;Press &lt;code&gt;F11&lt;/code&gt; from Normal&lt;/td&gt;
&lt;td&gt;Press &lt;code&gt;F11&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Presentation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Slide-style view, minimal controls&lt;/td&gt;
&lt;td&gt;Press &lt;code&gt;F5&lt;/code&gt; from Normal&lt;/td&gt;
&lt;td&gt;Press &lt;code&gt;F5&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;The most important habit:&lt;/strong&gt; if zathura stops responding to expected keys, press &lt;code&gt;Escape&lt;/code&gt;. This returns you to Normal mode from any other state.&lt;/p&gt;




&lt;h2&gt;
  
  
  Your First Session
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Opening a file
&lt;/h3&gt;

&lt;p&gt;From the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zathura document.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open at a specific page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zathura &lt;span class="nt"&gt;-P&lt;/span&gt; 42 document.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open and search for a term immediately:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zathura &lt;span class="nt"&gt;-f&lt;/span&gt; &lt;span class="s2"&gt;"search term"&lt;/span&gt; document.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From inside zathura, open a new document with &lt;code&gt;o&lt;/code&gt;. This opens a file picker in the inputbar at the bottom of the screen. Type a path or filename and press &lt;code&gt;Enter&lt;/code&gt;. Tab completion works.&lt;/p&gt;

&lt;h3&gt;
  
  
  Navigating and searching
&lt;/h3&gt;

&lt;p&gt;Use &lt;code&gt;j&lt;/code&gt;/&lt;code&gt;k&lt;/code&gt; to scroll down and up, &lt;code&gt;J&lt;/code&gt;/&lt;code&gt;K&lt;/code&gt; to move between pages, &lt;code&gt;gg&lt;/code&gt; to go to the first page, and &lt;code&gt;G&lt;/code&gt; to go to the last. Press &lt;code&gt;nG&lt;/code&gt; to jump to a specific page number. See the full keybinding reference below for all navigation and zoom options.&lt;/p&gt;

&lt;p&gt;Press &lt;code&gt;/&lt;/code&gt; to search forward or &lt;code&gt;?&lt;/code&gt; to search backward. Results highlight as you type. Use &lt;code&gt;n&lt;/code&gt;/&lt;code&gt;N&lt;/code&gt; to move between matches, and &lt;code&gt;Escape&lt;/code&gt; to clear highlights.&lt;/p&gt;

&lt;h3&gt;
  
  
  Quitting
&lt;/h3&gt;

&lt;p&gt;Press &lt;code&gt;q&lt;/code&gt; to quit.&lt;/p&gt;




&lt;h2&gt;
  
  
  Keybindings by Workflow
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Page and document navigation
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;J&lt;/code&gt; / &lt;code&gt;K&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Next / previous page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gg&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;First page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;G&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Last page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;nG&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Go to page n&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;P&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Snap to current page (re-centres view)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;H&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Go to top of current page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;L&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Go to bottom of current page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+o&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Jump backward in history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+i&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Jump forward in history&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Scrolling
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;h&lt;/code&gt; / &lt;code&gt;l&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Scroll left / right&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;j&lt;/code&gt; / &lt;code&gt;k&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Scroll down / up&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Space&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scroll full page down&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Shift+Space&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scroll full page up&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+d&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scroll half page down&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+u&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scroll half page up&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+f&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scroll full page down (alternative)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Scroll full page up (alternative)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Zoom and view
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;+&lt;/code&gt; / &lt;code&gt;-&lt;/code&gt; / &lt;code&gt;=&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Zoom in / out / reset&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;a&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Best-fit zoom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Width-fit zoom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;n=&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Zoom to n percent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;r&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Rotate 90 degrees clockwise&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+r&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle recolor (grayscale invert)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;d&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle dual page view&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;D&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Cycle first column in dual page view&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;F5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle presentation mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;F11&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle fullscreen mode&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Search
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Search forward&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;?&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Search backward&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;n&lt;/code&gt; / &lt;code&gt;N&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Next / previous result&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Escape&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Clear search and return to Normal&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Links
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;f&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Follow a link (opens linked page or URL)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;F&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Display the link target without following&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;c&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Copy link target to clipboard&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Bookmarks and quickmarks
&lt;/h3&gt;

&lt;p&gt;Zathura has two bookmark systems: persistent bookmarks (saved to disk) and quickmarks (single-session, single-key).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bookmarks&lt;/strong&gt; (saved between sessions):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:bmark&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Save a bookmark at the current page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:blist&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;List all bookmarks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:bjump [name]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Jump to a bookmark&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:bdelete [name]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Delete a bookmark&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Quickmarks&lt;/strong&gt; (current session only):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;mX&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Set a quickmark at letter or number X&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;'X&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Jump to quickmark X&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For example, &lt;code&gt;ma&lt;/code&gt; sets a quickmark at &lt;code&gt;a&lt;/code&gt;, and &lt;code&gt;'a&lt;/code&gt; returns to it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Interface toggles
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+m&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle inputbar (command line at bottom)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Ctrl+n&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle statusbar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Tab&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Toggle index (table of contents)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Index Mode
&lt;/h2&gt;

&lt;p&gt;Index mode displays the document's table of contents in a panel, allowing you to jump directly to any section.&lt;/p&gt;

&lt;p&gt;Press &lt;code&gt;Tab&lt;/code&gt; from Normal mode to enter Index mode.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;j&lt;/code&gt; / &lt;code&gt;k&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Move down / up through entries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;l&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Expand a collapsed entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;L&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Expand all entries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;h&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Collapse an entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;H&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Collapse all entries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;Space&lt;/code&gt; or &lt;code&gt;Enter&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Jump to the selected entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;gg&lt;/code&gt; / &lt;code&gt;G&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Jump to first / last entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;Tab&lt;/code&gt; or &lt;code&gt;Escape&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Exit Index mode and return to Normal&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If the document has no table of contents, Index mode will open but display nothing.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Command Interface
&lt;/h2&gt;

&lt;p&gt;Press &lt;code&gt;:&lt;/code&gt; from Normal mode to open the command inputbar. Tab completion works — press &lt;code&gt;Tab&lt;/code&gt; to cycle through available completions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Commonly used commands
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:o [path]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Open a document&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:jumplist&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show recent jump history (last 5 by default)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:jumplist 20&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show last 20 jumps&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:nohl&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Remove search highlights&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:hlsearch&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Re-enable search highlights&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:info&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show document metadata (title, author, pages, etc.)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:print&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Open the print dialog&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:write&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Save the document&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:write!&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Save and overwrite without prompting&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:export [id] [filename]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Export an attachment from the document&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:offset [n]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Set a page offset (useful when document page numbers don't match PDF page numbers)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:dump&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Write all current settings to a file&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;:q&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Quit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Executing external commands
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;:exec&lt;/code&gt; command (aliased as &lt;code&gt;:!&lt;/code&gt;) runs an external command from within zathura. The following variables are available:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;$FILE&lt;/code&gt; — the current document path&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;$PAGE&lt;/code&gt; — the current page number&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;$DBUS&lt;/code&gt; — the D-Bus bus name for the current instance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example: open the current document in another application:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;:exec evince &lt;span class="nv"&gt;$FILE&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Configuration
&lt;/h2&gt;

&lt;p&gt;Zathura is configured through a plain text file called &lt;code&gt;zathurarc&lt;/code&gt;. Zathura reads configuration from:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;/etc/zathurarc&lt;/code&gt; (system-wide)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;~/.config/zathura/zathurarc&lt;/code&gt; (user-specific, takes priority)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the file does not exist, create it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; ~/.config/zathura
&lt;span class="nb"&gt;touch&lt;/span&gt; ~/.config/zathura/zathurarc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each line in the file is evaluated independently. Comments begin with &lt;code&gt;#&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Setting options
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &amp;lt;&lt;span class="n"&gt;option&lt;/span&gt;&amp;gt; &amp;lt;&lt;span class="n"&gt;value&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Examples:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;option1&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt;           &lt;span class="c"&gt;# integer
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;option2&lt;/span&gt; &lt;span class="m"&gt;2&lt;/span&gt;.&lt;span class="m"&gt;0&lt;/span&gt;         &lt;span class="c"&gt;# float
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;option3&lt;/span&gt; &lt;span class="s2"&gt;"hello"&lt;/span&gt;     &lt;span class="c"&gt;# string with spaces
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;option4&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;        &lt;span class="c"&gt;# boolean
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;default&lt;/span&gt;-&lt;span class="n"&gt;fg&lt;/span&gt; &lt;span class="s2"&gt;"#CCBBCC"&lt;/span&gt;  &lt;span class="c"&gt;# color (quote the hash)
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  A recommended starting configuration
&lt;/h3&gt;

&lt;p&gt;The following is a practical starting point. It addresses the most common complaints new users have about zathura's defaults.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="c"&gt;# Use sqlite for bookmark storage (the plain backend is deprecated)
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;database&lt;/span&gt; &lt;span class="n"&gt;sqlite&lt;/span&gt;

&lt;span class="c"&gt;# Open documents in width-fit mode instead of best-fit
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;adjust&lt;/span&gt;-&lt;span class="n"&gt;open&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;

&lt;span class="c"&gt;# Recolor mode: dark background with light text (easier on the eyes)
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;recolor&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;recolor&lt;/span&gt;-&lt;span class="n"&gt;darkcolor&lt;/span&gt; &lt;span class="s2"&gt;"#FFFFFF"&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;recolor&lt;/span&gt;-&lt;span class="n"&gt;lightcolor&lt;/span&gt; &lt;span class="s2"&gt;"#1C1C1C"&lt;/span&gt;

&lt;span class="c"&gt;# Keep original image colors when recoloring (prevents image inversion)
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;recolor&lt;/span&gt;-&lt;span class="n"&gt;reverse&lt;/span&gt;-&lt;span class="n"&gt;video&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;

&lt;span class="c"&gt;# Remember last position when reopening documents
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;open&lt;/span&gt;-&lt;span class="n"&gt;first&lt;/span&gt;-&lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="n"&gt;false&lt;/span&gt;

&lt;span class="c"&gt;# Show page number in the window title
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;window&lt;/span&gt;-&lt;span class="n"&gt;title&lt;/span&gt;-&lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;

&lt;span class="c"&gt;# Use ~ instead of full home path in title
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;window&lt;/span&gt;-&lt;span class="n"&gt;title&lt;/span&gt;-&lt;span class="n"&gt;home&lt;/span&gt;-&lt;span class="n"&gt;tilde&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;

&lt;span class="c"&gt;# Slightly larger scroll step for faster navigation
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;scroll&lt;/span&gt;-&lt;span class="n"&gt;step&lt;/span&gt; &lt;span class="m"&gt;80&lt;/span&gt;

&lt;span class="c"&gt;# Stop at page boundaries when scrolling by half or full pages
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;scroll&lt;/span&gt;-&lt;span class="n"&gt;page&lt;/span&gt;-&lt;span class="n"&gt;aware&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;

&lt;span class="c"&gt;# Use system clipboard instead of primary selection for copied text
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;selection&lt;/span&gt;-&lt;span class="n"&gt;clipboard&lt;/span&gt; &lt;span class="n"&gt;clipboard&lt;/span&gt;

&lt;span class="c"&gt;# Incremental search (highlights as you type)
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;incremental&lt;/span&gt;-&lt;span class="n"&gt;search&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;

&lt;span class="c"&gt;# Font for the interface
&lt;/span&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;font&lt;/span&gt; &lt;span class="s2"&gt;"monospace normal 11"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Remapping keybindings
&lt;/h3&gt;

&lt;p&gt;Use &lt;code&gt;map&lt;/code&gt; to add or change keybindings:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;map&lt;/span&gt; [&lt;span class="n"&gt;mode&lt;/span&gt;] &amp;lt;&lt;span class="n"&gt;key&lt;/span&gt;&amp;gt; &amp;lt;&lt;span class="n"&gt;function&lt;/span&gt;&amp;gt; [&lt;span class="n"&gt;argument&lt;/span&gt;]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The mode is optional and defaults to Normal. Available modes are &lt;code&gt;normal&lt;/code&gt;, &lt;code&gt;fullscreen&lt;/code&gt;, &lt;code&gt;presentation&lt;/code&gt;, and &lt;code&gt;index&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Examples:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="c"&gt;# Remap zoom in/out to Ctrl+= and Ctrl+-
&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt; &amp;lt;&lt;span class="n"&gt;C&lt;/span&gt;-=&amp;gt; &lt;span class="n"&gt;zoom&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt;
&lt;span class="n"&gt;map&lt;/span&gt; &amp;lt;&lt;span class="n"&gt;C&lt;/span&gt;--&amp;gt; &lt;span class="n"&gt;zoom&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;

&lt;span class="c"&gt;# Open a file with Ctrl+o
&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt; &amp;lt;&lt;span class="n"&gt;C&lt;/span&gt;-&lt;span class="n"&gt;o&lt;/span&gt;&amp;gt; &lt;span class="n"&gt;open&lt;/span&gt;

&lt;span class="c"&gt;# In presentation mode, use arrow keys to advance slides
&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt; [&lt;span class="n"&gt;presentation&lt;/span&gt;] &amp;lt;&lt;span class="n"&gt;Right&lt;/span&gt;&amp;gt; &lt;span class="n"&gt;navigate&lt;/span&gt; &lt;span class="n"&gt;next&lt;/span&gt;
&lt;span class="n"&gt;map&lt;/span&gt; [&lt;span class="n"&gt;presentation&lt;/span&gt;] &amp;lt;&lt;span class="n"&gt;Left&lt;/span&gt;&amp;gt; &lt;span class="n"&gt;navigate&lt;/span&gt; &lt;span class="n"&gt;previous&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To remove an existing keybinding:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;unmap&lt;/span&gt; &amp;lt;&lt;span class="n"&gt;key&lt;/span&gt;&amp;gt;
&lt;span class="n"&gt;unmap&lt;/span&gt; [&lt;span class="n"&gt;mode&lt;/span&gt;] &amp;lt;&lt;span class="n"&gt;key&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Including other config files
&lt;/h3&gt;

&lt;p&gt;Split your configuration across multiple files using &lt;code&gt;include&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;include&lt;/span&gt; ~/.&lt;span class="n"&gt;config&lt;/span&gt;/&lt;span class="n"&gt;zathura&lt;/span&gt;/&lt;span class="n"&gt;keybindings&lt;/span&gt;
&lt;span class="n"&gt;include&lt;/span&gt; ~/.&lt;span class="n"&gt;config&lt;/span&gt;/&lt;span class="n"&gt;zathura&lt;/span&gt;/&lt;span class="n"&gt;colors&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Useful Configuration Options Reference
&lt;/h2&gt;

&lt;p&gt;This covers the options most users will actually want to change. For the full list, run &lt;code&gt;:dump&lt;/code&gt; inside zathura or consult the zathurarc man page.&lt;/p&gt;

&lt;h3&gt;
  
  
  Display
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;What It Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;adjust-open&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;best-fit&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;How documents open: &lt;code&gt;best-fit&lt;/code&gt; fits the whole page, &lt;code&gt;width&lt;/code&gt; fits page width&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;pages-per-row&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Number of pages shown side by side&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;page-v-padding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Vertical gap in pixels between pages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;page-h-padding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Horizontal gap in pixels between pages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;scroll-step&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;40&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Pixels scrolled per keypress&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;scroll-page-aware&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;If true, page-scrolling stops at page boundaries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;scroll-wrap&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;If true, wraps from last page to first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;zoom-step&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Percentage change per zoom keypress&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;zoom-min&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Minimum zoom percentage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;zoom-max&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Maximum zoom percentage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;vertical-center&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;If true, centres the view vertically on the page midpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Appearance
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;What It Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;font&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;monospace normal 9&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Interface font and size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;default-bg&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#000000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Background color&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;default-fg&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#DDDDDD&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Default foreground color&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;statusbar-bg&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#000000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Statusbar background&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;statusbar-fg&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#FFFFFF&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Statusbar text color&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;recolor&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Enable recolor mode on launch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;recolor-darkcolor&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#FFFFFF&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Color used for dark content in recolor mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;recolor-lightcolor&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;#000000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Color used for light content in recolor mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;recolor-reverse-video&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Keep original image colors when recoloring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;recolor-keephue&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Preserve hue when recoloring&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Behaviour
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;What It Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;database&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;plain&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Storage backend for bookmarks and history (&lt;code&gt;sqlite&lt;/code&gt; recommended)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;open-first-page&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;If true, always opens at page 1 instead of last remembered position&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;incremental-search&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;true&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Highlight search results as you type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;abort-clear-search&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;true&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Clear search highlights when pressing Escape&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;selection-clipboard&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;primary&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Which clipboard copied text goes to (&lt;code&gt;clipboard&lt;/code&gt; for Ctrl+V paste)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;window-title-page&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show current page number in window title&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;window-title-basename&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show only filename (not full path) in window title&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;window-title-home-tilde&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Replace home path with ~ in window title&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;statusbar-basename&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show only filename in statusbar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;statusbar-page-percent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Show position as percentage instead of page number&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;continuous-hist-save&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Save position history at every page change, not only on close&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;double-click-follow&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;true&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Whether double or single click follows a link&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  SyncTeX Integration
&lt;/h2&gt;

&lt;p&gt;SyncTeX is a synchronisation system used with LaTeX. It allows you to jump from a position in your PDF directly to the corresponding source line in your editor (backward sync), and from a source line directly to the corresponding position in the PDF (forward sync).&lt;/p&gt;

&lt;p&gt;Zathura supports both directions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Forward synchronisation (editor to PDF)
&lt;/h3&gt;

&lt;p&gt;Forward sync jumps from your editor to the corresponding position in zathura. This is triggered from the editor side and requires passing position information to zathura via the command line.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zathura &lt;span class="nt"&gt;--synctex-forward&lt;/span&gt; LINE:COLUMN:SOURCEFILE document.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Neovim with the &lt;code&gt;vimtex&lt;/code&gt; plugin, add to your configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight viml"&gt;&lt;code&gt;&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;g:vimtex_view_method&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'zathura'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;VimTeX handles the forward sync command automatically.&lt;/p&gt;

&lt;p&gt;For gvim, add the following to your vim configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight viml"&gt;&lt;code&gt;&lt;span class="k"&gt;function&lt;/span&gt;&lt;span class="p"&gt;!&lt;/span&gt; Synctex&lt;span class="p"&gt;()&lt;/span&gt;
  &lt;span class="nb"&gt;execute&lt;/span&gt; &lt;span class="s2"&gt;"silent !zathura --synctex-forward "&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="nb"&gt;line&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="s2"&gt;":"&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="k"&gt;col&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'.'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="s2"&gt;":"&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="nb"&gt;bufname&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'%'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="s2"&gt;" "&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="nv"&gt;g:syncpdf&lt;/span&gt;
  &lt;span class="k"&gt;redraw&lt;/span&gt;&lt;span class="p"&gt;!&lt;/span&gt;
&lt;span class="k"&gt;endfunction&lt;/span&gt;
&lt;span class="nb"&gt;map&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;C&lt;span class="p"&gt;-&lt;/span&gt;Enter&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="k"&gt;call&lt;/span&gt; Synctex&lt;span class="p"&gt;()&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;cr&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then launch zathura with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zathura &lt;span class="nt"&gt;-x&lt;/span&gt; &lt;span class="s2"&gt;"gvim --servername vim -c &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;let g:syncpdf='&lt;/span&gt;&lt;span class="nv"&gt;$1&lt;/span&gt;&lt;span class="s2"&gt;'&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; --remote +%{line} %{input}"&lt;/span&gt; document.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Backward synchronisation (PDF to editor)
&lt;/h3&gt;

&lt;p&gt;Backward sync jumps from a position in zathura to the corresponding source line in your editor. Hold &lt;code&gt;Ctrl&lt;/code&gt; and left-click on any position in the PDF to trigger it.&lt;/p&gt;

&lt;p&gt;The editor command is set via the &lt;code&gt;synctex-editor-command&lt;/code&gt; option in your zathurarc:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;synctex&lt;/span&gt;-&lt;span class="n"&gt;editor&lt;/span&gt;-&lt;span class="n"&gt;command&lt;/span&gt; &lt;span class="s2"&gt;"nvim --headless -c \"&lt;/span&gt;&lt;span class="n"&gt;VimtexInverseSearch&lt;/span&gt; %{&lt;span class="n"&gt;line&lt;/span&gt;} &lt;span class="s1"&gt;'%{input}'&lt;/span&gt;\&lt;span class="s2"&gt;""&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adjust the command for your editor. The &lt;code&gt;%{line}&lt;/code&gt; and &lt;code&gt;%{input}&lt;/code&gt; variables are expanded by zathura to the line number and source file path respectively.&lt;/p&gt;

&lt;p&gt;To change the modifier key used for backward sync (default is &lt;code&gt;Ctrl&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;synctex&lt;/span&gt;-&lt;span class="n"&gt;edit&lt;/span&gt;-&lt;span class="n"&gt;modifier&lt;/span&gt; &lt;span class="n"&gt;shift&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Editors with built-in zathura support
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LaTeXTools for Sublime Text&lt;/strong&gt; — zathura is a supported viewer&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VimTeX&lt;/strong&gt; — full forward and backward sync support out of the box&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Sandbox Mode
&lt;/h2&gt;

&lt;p&gt;Zathura includes an optional sandbox mode (&lt;code&gt;zathura-sandbox&lt;/code&gt; binary) that applies a seccomp and landlock-based security sandbox. This restricts what zathura can do at the system level, which reduces the attack surface when opening untrusted documents.&lt;/p&gt;

&lt;p&gt;The following features are disabled in sandbox mode:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saving and writing files&lt;/li&gt;
&lt;li&gt;Printing&lt;/li&gt;
&lt;li&gt;Bookmarks and history&lt;/li&gt;
&lt;li&gt;D-Bus integration&lt;/li&gt;
&lt;li&gt;SyncTeX support&lt;/li&gt;
&lt;li&gt;Input methods (ibus, etc.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use &lt;code&gt;zathura-sandbox&lt;/code&gt; instead of &lt;code&gt;zathura&lt;/code&gt; when opening documents from untrusted sources:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zathura-sandbox untrusted-document.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Sandbox mode is experimental and currently tested only with glibc.&lt;/p&gt;




&lt;h2&gt;
  
  
  Launch Flags Reference
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Flag&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-P, --page&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Open at a specific page&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -P 10 doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-f, --find&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Open and search for a string&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -f "conclusion" doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-w, --password&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Provide password for encrypted document&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -w password doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-c, --config-dir&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Use a custom config directory&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -c ~/.config/zathura-alt doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-d, --data-dir&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Use a custom data directory&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -d /tmp/zathura-data doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-l, --log-level&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Set log verbosity&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -l debug doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-x, --synctex-editor-command&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Set SyncTeX editor command&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura -x "nvim ..." doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--synctex-forward&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Jump to a SyncTeX position&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura --synctex-forward 42:1:main.tex doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--mode&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Start in a non-default mode&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura --mode presentation doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--fork&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Fork into background&lt;/td&gt;
&lt;td&gt;&lt;code&gt;zathura --fork doc.pdf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why is zathura not responding to my keypresses?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You are likely in a mode other than Normal, or the inputbar is focused. Press &lt;code&gt;Escape&lt;/code&gt; to return to Normal mode. If the inputbar is open (a colon prompt at the bottom), press &lt;code&gt;Escape&lt;/code&gt; to dismiss it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I open a file from inside zathura without using the terminal?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Press &lt;code&gt;o&lt;/code&gt; in Normal mode. The inputbar opens and accepts a file path. Tab completion works. Press &lt;code&gt;Enter&lt;/code&gt; to open the file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does text look blurry or pixelated?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is usually a rendering backend issue. If you are using &lt;code&gt;zathura-pdf-poppler&lt;/code&gt;, try switching to &lt;code&gt;zathura-pdf-mupdf&lt;/code&gt; — MuPDF generally produces sharper text rendering, particularly at non-standard zoom levels.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I make zathura remember where I was in a document?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Zathura saves the last position automatically when you close a document. If it is always opening at page 1, check your zathurarc for &lt;code&gt;set open-first-page true&lt;/code&gt; and remove or change it. Also ensure &lt;code&gt;set database sqlite&lt;/code&gt; is set, as the &lt;code&gt;plain&lt;/code&gt; backend is deprecated and may not save history reliably. See Configuration → Behaviour.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I copy text from a PDF?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Drag to select text with the left mouse button. Selected text goes to the primary clipboard by default — paste with the middle mouse button or &lt;code&gt;Shift+Insert&lt;/code&gt;. To copy to the system clipboard instead, set &lt;code&gt;selection-clipboard clipboard&lt;/code&gt; in your zathurarc. See Configuration → Behaviour.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why are my bookmarks not saved between sessions?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The default &lt;code&gt;plain&lt;/code&gt; database backend is deprecated. Set &lt;code&gt;database sqlite&lt;/code&gt; in your zathurarc. See Configuration → Behaviour.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I view two pages side by side?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Press &lt;code&gt;d&lt;/code&gt; in Normal mode to toggle dual page view. Press &lt;code&gt;D&lt;/code&gt; to change which column the first page appears in. To make this permanent, set &lt;code&gt;pages-per-row 2&lt;/code&gt; in your zathurarc. See Configuration → Display.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why do my PDFs look inverted or have strange colors?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Recolor mode may be enabled. Press &lt;code&gt;Ctrl+r&lt;/code&gt; to toggle it off. To keep recolor mode but preserve original image colors, set &lt;code&gt;recolor-reverse-video true&lt;/code&gt; in your zathurarc. See Configuration → Appearance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I set zathura as my default PDF viewer?&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xdg-mime default org.pwmt.zathura.desktop application/pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xdg-mime query default application/pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Can zathura open password-protected PDFs?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes. Either provide the password at launch with &lt;code&gt;-w yourpassword&lt;/code&gt;, or open the document normally and zathura will prompt for it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is zathura not showing the table of contents?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Press &lt;code&gt;Tab&lt;/code&gt; to open Index mode. If the panel opens but is empty, the document does not have an embedded table of contents. This is common with scanned PDFs and some older documents.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I use zathura with LaTeX?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;See the SyncTeX Integration section above. The short version: install VimTeX if you use Neovim or Vim, and add &lt;code&gt;let g:vimtex_view_method = 'zathura'&lt;/code&gt; to your configuration.&lt;/p&gt;




&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Pages are not rendering or appear blank&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ensure you have a PDF plugin installed. Zathura without a plugin cannot render any document.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Arch&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;pacman &lt;span class="nt"&gt;-S&lt;/span&gt; zathura-pdf-mupdf

&lt;span class="c"&gt;# Debian/Ubuntu&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;zathura-pdf-mupdf
&lt;span class="c"&gt;# or&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;zathura-pdf-poppler
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Text or graph characters are misaligned&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Zathura uses Unicode characters in its interface. If characters overlap or appear misaligned, the issue is with your terminal or display font. This does not affect document rendering — only the statusbar and inputbar appearance.&lt;/p&gt;

&lt;p&gt;If you use Konsole or Yakuake, disable "Bi-Directional text rendering" in terminal settings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Colors look wrong or washed out&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If colours appear muted, your display or compositor may be applying colour correction. This is not specific to zathura. Check your compositor settings.&lt;/p&gt;

&lt;p&gt;If recolor mode is causing unexpected results, press &lt;code&gt;Ctrl+r&lt;/code&gt; to toggle it off, or adjust the recolor settings in your zathurarc. See Configuration → Appearance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Zathura crashes with large documents&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;GDK_NATIVE_WINDOWS&lt;/code&gt; is enabled in your environment, disable it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;unset &lt;/span&gt;GDK_NATIVE_WINDOWS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;overlay-scrollbar&lt;/code&gt; is enabled in &lt;code&gt;GTK_MODULES&lt;/code&gt;, remove it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;GTK_MODULES&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;SyncTeX backward sync is not working&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Confirm that &lt;code&gt;synctex-editor-command&lt;/code&gt; is set in your zathurarc and that the command is correct for your editor. Test the command manually in a terminal to verify it works independently of zathura.&lt;/p&gt;

&lt;p&gt;Also confirm that &lt;code&gt;dbus-service&lt;/code&gt; is enabled (it is by default):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;dbus&lt;/span&gt;-&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SyncTeX requires D-Bus. If you are running zathura in sandbox mode, SyncTeX is not available.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;For bug reports, see &lt;a href="https://github.com/pwmt/zathura/issues" rel="noopener noreferrer"&gt;github.com/pwmt/zathura/issues&lt;/a&gt;. For plugin-specific issues, report to the relevant plugin repository.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>opensource</category>
      <category>linux</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
