search
HomeOperation and MaintenanceNginxZathura: A minimalist document viewer that uses the keyboard

Zathura: 使用键盘操作的极简文档查看器

The document viewer on distributions such as Ubuntu is generally Evince in GNOME (LCTT translation annotation: pronounced /ɪˈvɪns/). Evince supports a variety of file formats, which is very convenient.

But besides Evince, there are many other document reading applications. For example, the excellent e-book reading application on Linux Foliate (LCTT translation annotation: pronounced /ˈfəʊlɪɪt/).

Recently I discovered another document viewer: Zathura.

Get a mouse-free reading experience with Zathura

Zathura is a highly customizable document viewer based on the girara user interface and several Document library. girara implements a simple, minimal user interface.

Zathura loads extremely fast. It is extremely simple and has no sidebar, menu bar and other elements. (LCTT Translation: In fact, Zathura’s interface is not that simple. Press the Tab key to display the index page; Zathura has a guioptions option to set whether to display the command line, status bar, and horizontal scroll bar. , vertical scroll bars and other GUI elements.)

Zathura: 使用键盘操作的极简文档查看器

Zathura Document Viewer Interface

Press the : key You can open Zathura's command line prompt and press the Esc key to exit the command line.

If you want to create a new bookmark, you can enter :bmark followed by the index number you want to set for this bookmark.

Zathura: 使用键盘操作的极简文档查看器

Bookmarks in Zathura

Press the F key to highlight all links, each link comes with a serial number, and a command line prompt will be displayed at the bottom of the interface. Enter the serial number corresponding to the link in the command line and press Enter to open the link with the system's default browser.

Zathura: 使用键盘操作的极简文档查看器

Highlight and open links in documents

Zathura also supports automatic reloading. If the file is modified by another application (LCTT annotation: for example, after modifying the LaTeX source file and recompiling to get a new PDF), Zathura will automatically reload the modified file.

You can also install plug-ins to extend the functions of Zathura, such as reading comics

But Zathura has a problem, there is no documentation or help options on its interface, It will be a little difficult to use it for the first time.

You can get the default keyboard shortcut information from Zathura's man page. Here are some of them:

  • R: Rotate
  • D: Switch between single and double page viewing modes
  • F: Highlight the link in the current screen
  • H J K L: Use Vim type keys to move (LCTT Translation annotation: HJKL stands for left, bottom, top and right respectively)
  • key or PgUp/PgDown or mouse/touchpad: move up and down
  • /: search text, press n or N Move to next or previous search (similar to less command)
  • Q: Close

Zathura The project website provides documents on how to configure the software, but I feel that the writing is not very clear. (LCTT Translation: After installing Zathura, you can use man zathurarc to view the local Zathura configuration manual.)

Installing Zathura on Linux

Software for most Linux distributions Zathura is included in repositories, such as Ubuntu, Fedora, Arch and Debian (find from pkgs.org website). You can install it using the package manager or software center on your distribution.

You can use the following command to install Zathura on Debian and Ubuntu distributions:

sudo apt install zathura

You can use it on Fedora:

sudo dnf install zathura

Use it on Arch Linux pacman install Zathura:

sudo pacman -Sy zathura

If you want to view the source code of Zathura, you can visit its software repository on GitLab:

Zathura Source Code

Summary

To be honest, I don’t like tools that don’t use a mouse, so I prefer Nano to Vim because I can’t remember the countless shortcut keys on Vim. (LCTT Translation: In fact, Zathura has some support for the mouse. Click the left mouse button to open the link, hold down the left mouse button to select and copy text, and hold down the middle mouse button to drag the view, Ctrl Rolling the wheel can zoom the view.)

I know there are many people who firmly believe that the keyboard is more efficient than the mouse. But I'm not willing to specifically learn how to configure a document viewer, mainly because I rarely read large documents on my desktop, and when I occasionally need to view PDFs, the default app is sufficient.

Of course, I'm not saying that Zathura has no uses. If you need to process a lot of documents such as PDF or LaTeX and prefer keyboard operation, Zathura may become your next favorite tool.

The above is the detailed content of Zathura: A minimalist document viewer that uses the keyboard. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
What is the standard monitoring port of nginxWhat is the standard monitoring port of nginxMar 05, 2025 pm 03:18 PM

This article explains that Nginx lacks a standard monitoring port. Monitoring relies on methods like the stub_status module (accessed via existing HTTP ports) or external tools (Prometheus, Nagios, etc.) using various techniques including HTTP APIs

nginx listens to different port configurations to access different projectsnginx listens to different port configurations to access different projectsMar 05, 2025 pm 03:22 PM

This article details configuring Nginx to serve multiple projects from different ports on a single server using multiple server blocks. It emphasizes efficiency over running multiple Nginx instances and provides best practices for managing configura

How do I configure Nginx for server-side includes (SSI)?How do I configure Nginx for server-side includes (SSI)?Mar 17, 2025 pm 05:06 PM

The article discusses configuring Nginx for server-side includes (SSI), performance implications, using SSI for dynamic content, and troubleshooting common SSI issues in Nginx.Word count: 159

Solution to reload error report by nginx restart commandSolution to reload error report by nginx restart commandMar 05, 2025 pm 03:09 PM

Nginx reload failures stem from configuration file errors. Troubleshooting involves examining the error log for syntax issues, conflicts, permission problems, or resource exhaustion. Solutions include correcting syntax, resolving conflicts, and ens

nginx monitoring tool freenginx monitoring tool freeMar 05, 2025 pm 03:21 PM

This article explores free Nginx monitoring tools, comparing options like Prometheus/Grafana, Nagios, Zabbix, and StatsD/Graphite. It emphasizes tool selection based on technical expertise and highlights key metrics (RPS, request time, CPU/memory u

How to monitor nginx service statusHow to monitor nginx service statusMar 05, 2025 pm 03:17 PM

This article details methods for monitoring Nginx service status and performance. It covers using systemctl, ps, the Nginx status page, and various monitoring tools (Nagios, Zabbix, Prometheus, commercial options). Troubleshooting techniques using

How to specify configuration file for nginx restart commandHow to specify configuration file for nginx restart commandMar 05, 2025 pm 03:08 PM

This article explains how to restart Nginx using a specific configuration file via the -c flag, contrasting this with restarting using the default configuration. It highlights the benefits of using custom configuration files for testing, managing m

What contents of zabbix monitor nginxWhat contents of zabbix monitor nginxMar 05, 2025 pm 03:19 PM

This article details Zabbix's Nginx monitoring capabilities. It discusses key performance indicators (KPIs) like connection, request, and caching metrics, worker process status, and upstream server health. The article emphasizes effective alert co

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download

Atom editor mac version download

The most popular open source editor