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

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?
C) xwininfo
A) xcd
B) xcdepth
D) xcolordepth
E) cat /etc/X11

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
Taryn
16 hours ago
I’m leaning towards B) xcdepth. It makes sense for color depth.
upvoted 0 times
...
Ronny
6 days ago
Yeah, but I feel like A) xcd could be it too. Sounds familiar.
upvoted 0 times
...
Rashad
11 days ago
I think the answer is C) xwininfo. It shows window info, right?
upvoted 0 times
...
Jospeh
16 days ago
Yeah, `xwininfo` is the right command.
upvoted 0 times
...
Peggie
21 days ago
Wait, are you sure about that?
upvoted 0 times
...
Augustine
26 days ago
No way, it's `xcolordepth` for sure!
upvoted 0 times
...
Cathern
1 month ago
I thought it was `xcd`?
upvoted 0 times
...
Isabella
1 month ago
It's definitely `xwininfo` that shows color depth.
upvoted 0 times
...
Corrina
1 month ago
I feel like the answer might be xcd, but I’m not confident. I should have reviewed more before the exam!
upvoted 0 times
...
Julie
2 months ago
I'm leaning towards xcolordepth, but I can't recall if that's actually a valid command in X.
upvoted 0 times
...
Lorrie
2 months ago
I remember practicing a similar question, and I think it was about checking display settings. Could it be xcdepth?
upvoted 0 times
...
Pamella
2 months ago
I think the command to check color depth is something like xwininfo, but I'm not entirely sure.
upvoted 0 times
...

Save Cancel