getdpi(1)

getdpi1

Get the average horizontal dpi

Usage

getdpi Display the average DPI of all connected monitors.

Overview

getdpi can fetch information about all connected monitors, for X or Wayland, and return the average DPI (dots per inch).

Options

-a, -l or --all

Output DPI information for all available monitors.

-b or --both

Output both the horizontal and vertical average DPI.

-V or --version

Show the current version.

Version

5.14.3

Author

getdpi was written by Alexander F. Rødseth <[email protected]>

From wallutils 5.14.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.