Howto determine screen geometry?

Alan Coopersmith alan.coopersmith at oracle.com
Wed May 25 07:31:27 PDT 2011


On 05/25/11 04:25 AM, Stef Bon wrote:
> It works like:
> 
> xdyinfo -display :0 -ext XINERAMA | grep head
>   head #0: 1920x1080 @ 1920,0
>   head #1: 1920x1080 @ 0,0
> 
> this is the information I'm looking for. Thanks!
> 
> But also it suprises me, since I see in the whole output only one screen reported.
> I thought the display :0 has two screens (each head one). The first is :0.0, the
> second :0.1.
> Am I wrong here?

Not if you're using Xinerama.   The whole point of Xinerama is to combine
the two outputs into a single logicial screen, :0.0.

If you wanted X to report them as separate screens, :0.0 and :0.1, you'd
disable Xinerama.


-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list