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