QuestionQ113

VerifiedEssential Commands

Which command can be used to display the current color depth of the X Server?

Explanation

The xwininfo utility queries information about a window on an X server. When run with the -root option (i.e., xwininfo -root), it reports details about the root window, including a 'Depth:' line that indicates the current color depth (in bits) of the X Server's display. None of the other listed items are valid standard commands or methods for retrieving this information — /etc/X11 is a configuration directory, not a data source for runtime color depth, and xcd, xcdepth, and xcolordepth are not real utilities.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!