Getting started
onon is a PDF viewer you use from the keyboard. It draws pages with MuPDF and shows nothing beside them but a status bar, which you can hide. It also opens XPS, EPUB, MOBI, FictionBook, comic book archives (CBZ, CBT) and most image formats.
Install
Section titled “Install”With Homebrew:
brew install aethar01/tap/ononOr download the disk image for Apple silicon or Intel from the latest release and drag onon.app to Applications. onon runs on macOS 12 and later.
Download the installer from the latest release. It can make onon the default app for PDFs and other documents. A portable zip is there too, if you would rather not install.
Download a package from the latest release. The release packages run on Ubuntu 22.04, Fedora 36, Debian 12 and anything newer. They bundle MuPDF and SDL3, so only GTK 3 has to come from the system.
Debian and Ubuntu:
sudo apt install ./onon-*-linux-x86_64.debFedora and openSUSE:
sudo dnf install ./onon-*-linux-x86_64.rpm # or: sudo zypper installAny distribution, without installing:
chmod +x onon-*-linux-x86_64.AppImage./onon-*-linux-x86_64.AppImage paper.pdfOr unpack the tarball into ~/.local, which puts onon in ~/.local/bin:
tar -xzf onon-*-linux-x86_64.tar.gz -C ~/.local --strip-components=1Arch-based systems can install onon-git from the AUR:
yay -S onon-gitOpen a document
Section titled “Open a document”Open a file from your file manager, drop it on the window, or start onon from a terminal:
onon paper.pdfWith no file, onon reopens the document you read last, at the place you left it. Every document keeps its own place, zoom and marks between sessions.
The first keys
Section titled “The first keys”| Key | Does |
|---|---|
| j / k | Scroll down / up |
| J / K | Next / previous page |
| gg / G | First / last page |
| / / ? | Search forward / backward |
| n / N | Next / previous match |
| o | Outline (table of contents) |
| O | Overview grid of every page |
| F | Follow a link by typing its hint |
| gr | Recent files |
| : | Command prompt |
| F1 or g? | Help: every command, key and option |
| q | Quit |
Counts work the way they do in Vim: 10j scrolls ten steps and 3J moves three pages. Each system’s usual shortcuts work too. On macOS that is Cmd-F to search, Cmd-Z to undo and Cmd-= to zoom, and the menu bar lists actions with their keys. On Windows and Linux it is Ctrl-F, Ctrl-Z, Ctrl-= and F11.
Further
Section titled “Further”- Reading covers search, links, marks, highlights and presentation mode.
- Configuration shows where
config.lualives and how to change keys and options. - Themes changes how onon looks, from one colour to every panel’s shape.