LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xpdf

Lightweight X11 PDF viewer

TLDR

Open PDF file
$ xpdf [document.pdf]
copy
Open at specific page
$ xpdf [document.pdf] [5]
copy
Set initial zoom (percent, "page", "width")
$ xpdf -z [150] [document.pdf]
copy
Full screen mode
$ xpdf -fullscreen [document.pdf]
copy
Open with owner password
$ xpdf -opw [owner_password] [document.pdf]
copy
Reverse video (dark background) mode
$ xpdf -rv [document.pdf]
copy
Remote control mode
$ xpdf -remote [name] [document.pdf]
copy

SYNOPSIS

xpdf [-z zoom] [-fullscreen] [-opw password] [options] file.pdf [page]

DESCRIPTION

xpdf is a lightweight PDF viewer for X11. It renders PDF documents with minimal resource usage.The viewer provides basic PDF functionality: navigation, zoom, search, and printing. It handles most standard PDF features.Remote mode enables control from scripts. Commands sent to the named instance open files, navigate, and control display.Configuration through ~/.xpdfrc customizes appearance and behavior. Font paths, colors, and key bindings are adjustable.The xpdf package includes command-line tools: [pdftotext](/man/pdftotext)(1), [pdftops](/man/pdftops)(1), [pdfinfo](/man/pdfinfo)(1), and [pdfimages](/man/pdfimages)(1). These are widely used independent of the viewer.

PARAMETERS

-z ZOOM

Initial zoom (percent, page, width).
-fullscreen
Full screen mode.
-opw PASSWORD
Owner password.
-upw PASSWORD
User password.
-remote NAME
Start in remote mode.
-g GEOMETRY
Window geometry.
-rv
Reverse video mode.
-papercolor COLOR
Paper background color.
-mattecolor COLOR
Matte color around page area.
-cfg FILE
Config file.
-v
Show version.
-h
Show help.

KEY BINDINGS

n, Space, PgDn

Next page.
p, Backspace, PgUp
Previous page.
+, -
Zoom in/out.
z
Zoom to page.
w
Zoom to width.
/
Search forward.
?
Search backward.
q
Quit.

INSTALL

sudo apt install xpdf
copy
sudo dnf install xpdf
copy
sudo pacman -S xpdf
copy
sudo apk add xpdf
copy
brew install xpdf
copy
nix profile install nixpkgs#xpdf
copy

CAVEATS

Fewer features than Evince or Okular. Some modern PDF features may not render. X11 only. Development slower than alternatives.

HISTORY

xpdf was created by Derek Noonburg starting in 1995. It was one of the first open-source PDF viewers and spawned the Poppler library used by many modern viewers.

SEE ALSO

evince(1), okular(1), mupdf(1), zathura(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid