Howto determine screen geometry?
stef at bononline.nl
Sun May 22 07:19:49 PDT 2011
I'm working on a MultiSeat sollution, and has a video card with two
Now my setup is simular to:
Now as you can read here, on every screen there is a Xephyr running.
The location and the size of the window Xephyr is running on is set in a
Isn't it possible to just get that information from the Xserver??
xgetscreeninfo -display :0.0
xgetscreeninfo -display :0:1
which gives the position like
This makes it very easy, since the configuration is not necessary at
all, it's redundant. The info is already present in the setup (xorg.conf
file) how the screens are configured. (size and position)
More information about the xorg-devel