Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 102-500 Exam - Topic 4 Question 120 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 120
Topic #: 4
[All 102-500 Questions]

X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?

Show Suggested Answer Hide Answer
Suggested Answer: C

The xwininfo command is a utility for displaying information about windows on an X server. One of the information it displays is the depth of the window, which is the number of bits per pixel used to represent the color of the window. The depth of the root window, which is the background window of the X server, is the same as the color depth of the X server. To display the depth of the root window, one can use the command xwininfo -root and look for the line that says ''depth of root window''. Alternatively, one can use the command xdpyinfo, which displays information about the X server, and look for the line that says ''depths of root window''.Reference:

xwininfo(1) - Linux man page

xdpyinfo(1) - Linux man page

[LPI Linux Certification/Configure the X Window System, Xorg and ...]


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel