notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
xdpi X11 DPI information retrieval
g20240413 deskutilsnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: nimaje+fbz@bureaucracy.de search for ports maintained by this maintainer
Port Added: 2026-02-27 16:48:08
Last Update: 2026-02-27 16:46:10
Commit Hash: fda060c
License: MPL20
WWW:
https://github.com/Oblomov/xdpi
Description:
A small C program that retrieves all information about DPI (dots per inch) of the available displays in X11. Information from both the core protocol and the XRANDR extension is presented. Xinerama information (which lacks physical dimensions, and is thus not directly useful to determine output DPI) is also presented. If an XSETTINGS daemon is found, the reported (scaled and raw) Xft/DPI value is presented.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/xdpi
  2. /usr/local/share/licenses/xdpi-g20240413/catalog.mk
  3. /usr/local/share/licenses/xdpi-g20240413/LICENSE
  4. /usr/local/share/licenses/xdpi-g20240413/MPL20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • xdpi>0:deskutils/xdpi
To install the port:
cd /usr/ports/deskutils/xdpi/ && make install clean
To add the package, run one of these commands:
  • pkg install deskutils/xdpi
  • pkg install xdpi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: xdpi
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1771586946 SHA256 (Oblomov-xdpi-g20240413-b902c3df22152b79d95c9afba84d309d714e855a_GH0.tar.gz) = 9a678d3e4b39bbdbae9eab0f1f505e7db07203be003d6e982a7b02dae44f8d00 SIZE (Oblomov-xdpi-g20240413-b902c3df22152b79d95c9afba84d309d714e855a_GH0.tar.gz) = 16013

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. x11.pc : x11/libX11
  2. xcb.pc : x11/libxcb
  3. xinerama.pc : x11/libXinerama
  4. xrandr.pc : x11/libXrandr
Runtime dependencies:
  1. x11.pc : x11/libX11
  2. xcb.pc : x11/libxcb
  3. xinerama.pc : x11/libXinerama
  4. xrandr.pc : x11/libXrandr
Library dependencies:
  1. libxcb-xrm.so : x11/xcb-util-xrm
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
deskutils_xdpi
USES:
localbase:ldflags xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Oblomov/xdpi/tar.gz/b902c3df22152b79d95c9afba84d309d714e855a?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
g20240413
27 Feb 2026 16:46:10
commit hash: fda060c4bb7b05c5201e42d84e020605ede197c3commit hash: fda060c4bb7b05c5201e42d84e020605ede197c3commit hash: fda060c4bb7b05c5201e42d84e020605ede197c3commit hash: fda060c4bb7b05c5201e42d84e020605ede197c3 files touched by this commit
Dirk Meyer (dinoex) search for other commits by this committer
deskutils/xdpi: X11 DPI information retrieval

PR: 293436

Number of commits found: 1