xprop
Display window and font properties in an X server. tldr-pages
On several platforms
Several platforms
Display the name of the root window
xprop -root WM_NAMEIdentifyDisplay the window manager hints for a window
xprop -name "window_name" WM_HINTSIdentifyDisplay the point size of a font
xprop -font "font_name" POINT_SIZEIdentifyDisplay all the properties of the window with the ID 0x200007
xprop -id 0x200007IdentifyMonitor a window for changes
xprop -spyIdentify