On Sun, May 22, 2011 at 09:20:31AM -0700, Stef Bon wrote:
>   On 05/22/2011 04:23 PM, Mikhail Gusarov wrote:
> > Twas brillig at 16:19:49 22.05.2011 UTC+02 when [email protected] did gyre 
> > and gimble:
> >
> >   SB>  Isn't it possible to just get that information from the Xserver??
> >
> > xrandr + awk
> >
> Does not work, since randr and Xinerama do not combine.

Use the Xinerama extension:

xdpyinfo -ext XINERAMA

You can query similar information from a program using the functions in
libXinerama.

There's documentation in man pages for libXinerama:
http://cgit.freedesktop.org/xorg/lib/libXinerama/tree/man/Xinerama.man
("man Xinerama" if you have the man page installed)

Hope that helps!
-- Aaron
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to