Ashley Yakeley
Ashley Yakeley

Reputation: 691

How do I retrieve the root window properties for a display in X11?

The PulseAudio FAQ has this sentence:

If $DISPLAY is set, the library tries to connect to that server and looks for the root window property PULSE_SERVER for the host to connect to.

For a given $DISPLAY, how can I retrieve this and other root window properties, from, say, bash or Python?

Upvotes: 3

Views: 3686

Answers (1)

Jim Lewis
Jim Lewis

Reputation: 45125

I think the xprop command is what you're looking for:

xprop -display $DISPLAY -root

Upvotes: 5

Related Questions