XDPYINFO(1)

๐Ÿ’… XDPYINFO (1) โ€” like, the whole entire tea on your X server โœจ

okay so real quick, before we even get into it: this is XDPYINFO(1) from X Version 11, and she's a display information utility for X. that's the vibe. let's go ๐Ÿซถ


โœจ SYNOPSIS โœจ

xdpyinfo [-display displayname] [-queryExtensions] [-ext extension-name]
         [-help | -version]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay bestie, Xdpyinfo is a utility for displaying information about an X server. that's literally her whole job and she ate ๐Ÿ’…

she's the one you call when you wanna examine the capabilities of a server, the predefined values for various parameters used in communicating between clients and the server, and the different types of screens and visuals that are available. it's giving detective but make it cute ๐Ÿ”โœจ

so, by default, numeric information โ€” that's opcode, base event, base error โ€” about protocol extensions is not displayed. ngl that's the default and she's sticking to it. if you want that info you gotta ask nicely with the -queryExtensions option.

โš ๏ธ okay so lowkey important: use of -queryExtensions on servers that dynamically load extensions will likely cause all possible extensions to be loaded, which can be slow and can consume significant server resources. so likeโ€ฆ she's thorough but she's not free ๐Ÿ’€ plan accordingly.

detailed information about a particular extension is displayed with the -ext extensionName option. and if extensionName is all, information about all extensions supported by both xdpyinfo and the server is displayed. all of them. every single one. iconic ๐Ÿ‘‘

if -help is specified, xdpyinfo prints its usage message and exits, without contacting the X server. she doesn't even pick up the phone ๐Ÿ“ต

if -version is specified, xdpyinfo prints its version and exits, also without contacting the X server. same energy, different info ๐ŸŽ€


๐Ÿฆ‹ ENVIRONMENT ๐Ÿฆ‹

  • DISPLAY โ€” to get the default host, display number, and screen. that's it, that's the whole environment section, she's low-maintenance ๐ŸŒธ

๐ŸŽ€ SEE ALSO ๐ŸŽ€

X(7), xprop(1), xrdb(1), xwininfo(1), xrandr(1), xdriinfo(1), xvinfo(1), glxinfo(1)

the whole friend group fr fr, go say hi to all of them ๐Ÿซถ


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Jim Fulton, MIT X Consortium โ€” the original main character ๐Ÿ’œ

support for the XFree86-VidModeExtension, XFree86-DGA, XFree86-Misc, and XKB extensions added by Joe Moss โ€” shoutout, we see you, thank you for your service ๐Ÿ˜ญ๐Ÿ”ฅ


okay that's the page!! ๐ŸŒˆ and for the record, this is xdpyinfo 1.4.0, dated 2025-03-23, and yes she's still filed under XDPYINFO(1) because some things never change ๐Ÿ’– mwah, go check your display, love u, bye ๐Ÿฆ‹โญ

๐Ÿ“ฆ where this page comes from