Clever Geek Handbook
📜 ⬆️ ⬇️

Zathura (program)

Zathura is a file viewer for PDF , DjVu , PostScript , etc. [Comment 1] . Provides a minimalistic and easy to use interface ; control is mainly focused on interaction with the keyboard ( Vim -like command set) [2] , and the mouse is just an additional optional tool [3] .

Zathura
Zathura.png
Written on
Interface
operating systemLinux , FreeBSD , Mac OS X
Latest version
LicenseGNU GPL
Sitepwmt.org/projects/zathura/

Differs in speed of work and lightness. It is developed and distributed freely and openly using the girara library [comment 2] , based on GTK + . Cross-platform program within Unix-like systems ( Linux , FreeBSD , OS X ).

Interface Description

Zathura has a pseudo-console interface. On the main screen you can see:

  • monochrome field in which the document opens,
  • a line containing the path to the file (it can be hidden by Ctrl + n ),
  • the command line, which is hidden by default in normal mode and appears after entering : It can also be called by Ctrl + m .
Flipping Zathura Commands with Tab ↹

To enter a command, you must go to the appropriate mode by entering : Then you can directly enter the command name or scroll through the possible commands with Tab ↹ . When scrolling to the right there will be descriptions of commands (see. Fig.).

To switch to full screen mode, use the F11 key.

There is a special mode for viewing presentations , switching to which is carried out using the F5 key.

During normal reading, you can turn pages not only one after another, but also spreads . This option is switched by the d key. At the same time, the first page can be viewed both separately (located in the right column), and on a spread with the second page. Switching

:set first-page-column :1 - the first page in the left column,

:set first-page-column :2 - on the right.

Supported Document Formats

It supports various formats using plugins :

FormatPluginLibrary for rendering
Pdfzathura-pdf-poppler or zathura-pdf-mupdfpoppler or mupdf , respectively
Djvuzathura-djvudjvulibre
PostScriptzathura-pslibspectre
Comic book archivezathura-cblibarchive

Basic controls

This is an incomplete list of commands (see the man page in the shell [comment 3] ).

Wherever it makes sense, you can put a number in front of the command to repeat the command the corresponding number of times. For example:

10 J - go forward 10 pages,

3 r - turn 3 times clockwise, which is equivalent to once counterclockwise,

etc.

Key Bindings

SnapDescription
J , KGo to next, previous page
h , k , j , lScroll left, up, down, right
← , ↑ , ↓ , →also
Ctrl + t , d , u , yScroll left, up, down, right half a page
t

Ctrl + f or space ,
Ctrl + b or ⇧ Shift + space ,
y

Scroll left, up, down, right to the whole page
gg , G , n G ( n gg )To the beginning, to the end, to the nth page of the document
a , sFit page height, width
dU-Turn View
/ ?Text Search
n , NGo to next, previous search result
o , oOpen document
fFollow the link
FShow link address
r , n rclockwise rotation, rotation n times
Ctrl + rinvert colors (in b / w)
RReload document
+ , - , =Enlarge, reduce, original size
qoutput
Switching modes
F11Full screen mode
:Command input mode
F5Presentation mode
Tab ↹Switch to the table of contents and back
EscNormal mode (read)
 
Zathura table of contents mode
Table of Contents Navigation
k , jMove one point below
lExpand item
LExpand all
hCollapse
HCollapse all
Space , ↵ EnterSelect and open item

Commands

(entered after :

TeamDescription
bmarkSave bookmark
bdeleteDelete bookmark
blistGo to bookmark [comment 4]
closeClose document
execExecute external command
infoShow document information
helpShow help page
open oOpen document
offsetPage Offset Setting
printPrinting a document
write, write!Save document, forced dubbing
exportExport attachments

Examples of using commands:

:help

:open /home/username/Documents/document.ps - opened the document document.ps

:info

 
Command output :info

Configuration file

The appearance and behavior of Zathura can be changed in the zathurarc configuration file ( ~/.config/zathura/zathurarc ). The behavior of zathura can be specified using the set [comment 5] [6] command. For example, if we want the selection with the mouse to be copied to the clipboard, and not x11 primary selection, add the line set selection-clipboard clipboard [7] [8] to this file. Custom key bindings [6] are configured in the same way. Here you can also set the girara parameters, which determine the appearance of Zathura [9] .

Notes

  1. ↑ Support for one or another format is provided by connecting plugins
  2. ↑ Another software product based on the girara library is the minimalist browser Jumanji [4] [5]
  3. ↑ Copy of the man page in the Ubuntu repository
  4. ↑ a list of specific bookmarks can be obtained by pressing after blist Tab ↹ (tab) - hint / auto-completion key
  5. ↑ Which, however, can also be entered after the colon :
Sources
  1. ↑ pwmt / zathura
  2. ↑ Maximum minimum: We create a geek desktop from improvised materials (Russian) (neopr.) ? . The Hacker (July 5, 2011). Date of treatment June 28, 2016.
  3. ↑ Martin urban.prankster Prankevich. We work with PDF in Linux (neopr.) . The Hacker (May 26, 2015). Date of treatment June 28, 2016.
  4. ↑ Jumanji (neopr.) . pwmt.org. Date of treatment June 29, 2016.
  5. ↑ hootiegibbon. Ratpoison Window Manager // PC Linux OS Magazine. - 2011. - No. 11 .
  6. ↑ 1 2 Zathura Configuration (neopr.) . pwmt.org. Date of treatment June 29, 2016.
  7. ↑ README (unopened) . zegervdv / homebrew-zathura . Github Date of treatment June 29, 2016.
  8. ↑ Copy text not working Issue # 5 zegervdv / homebrew-zathura (unspecified) . Zathura . Github Date of treatment June 29, 2016.
  9. ↑ Girara General Settings (unspecified) . pwmt.org. Date of treatment June 29, 2016.

Literature

  • Mike Sanders HotPicks Zathura // LinuxFormat . - 2013. - January ( No. 01 (165-166) ). - S. 103 .

Links

  • pwmt.org/projects/zathura/ - official Zathura website
  • Zathura Project on GitHub
  • Ubuntu help page repository help page
Source - https://ru.wikipedia.org/w/index.php?title=Zathura_(program)&oldid=95734387


More articles:

  • Kovkenitsy
  • Senyk, Roman Fedorovich
  • World Challenge Cup
  • Barnwell (district)
  • 1982 USSR Football Championship (League Two, Zone 4)
  • Takoev, Dzandar Avsimaykhovich
  • Price (stream)
  • Occupation of Latvia by Nazi Germany
  • Verh-Invenskoe rural settlement
  • Beloyarovo

All articles

Clever Geek | 2019