Re: X11-2.1.1-pre1.pkg
Re: X11-2.1.1-pre1.pkg
- Subject: Re: X11-2.1.1-pre1.pkg
- From: Ben Byer <email@hidden>
- Date: Tue, 11 Dec 2007 19:32:31 -0800
Argh. Can't win!
On Dec 11, 2007, at 5:23 PM, Rachel Greenham wrote:
Hmm.
Just looking at the X-h output on a Linux box, and it has an option
Xquartz seems (maybe unsurprisingly) to lack:
-screen name ... specify the Screen section name
Which gave me a clue. :-)
Obviously there's no real xorg.conf anywhere for that to be defined;
but presumably (wild-guess?) there's some conversion layer that
provides the settings and environment X wants from out of the
running Quartz state.
xdpyinfo is giving me:
screen #0:
print screen: no
dimensions: 3360x1050 pixels (1138x356 millimeters)
resolution: 75x75 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x3f
... etc.
And there is no screen #1.
If that layer that [is|must surely be] providing X configuration out
of Quartz's runtime state in lieu of an /etc/X11/xorg.conf could
produce a ServerLayout and Screen sections that actually reflect a
multi-screened Mac's setup at that moment rather than creating a
single screen that's a union of all the Mac screens... maybe all
xinerama stuff would suddenly start working? :-D
XINERAMA and PseudoramiX are, AFAICT, the same thing. It's the X11
extension that makes two monitors look like one screen. I believe
this was enabled by default on Tiger, and then we accidentally shipped
Leopard with it disabled by default, which resulted in a bazillion "I
can't drag my window between screens" bugs, so now we've re-enabled it.
You can disable it by running Xquartz as "Xquartz -extension
XINERAMA", which will fix the size of screen 0 but apparently does not
actually then give you a screen 1.
See the message here:
http://cgit.freedesktop.org/xorg/xserver/tree/hw/xquartz/quartz.c?h=xorg-server-1.2-apple#n260
So, that's a bug right there -- that you only get one screen even with
XINERAMA disabled.
BTW, I understand how important this issue is for people on both sides
of the fence. At my previous job, we used AIX workstations (running
X11, obviously) with some custom app that placed a menu bar at the top
of the screen. Every workstation had two or three LCD panels, which
all ran as :0.0, :0.1, and :0.2. Someone discovered that these could
be configured as one screen -- "panorama mode", they called it -- by
calling our IT guys and having them change some boot argument flag,
then rebooting the workstation. I thought this was a fantastic idea
-- it meant I could finally drag things between displays -- but many
people disagreed. They hated the fact that the menu bar now spanned
both screens (whereas before it was only on :0.0), and that when xdm
put up the login prompt in the "center of the screen", in the two-
monitor configuration the prompt was split between the two screens.
It ended up rather badly. Someone else figured out how the first guy
had it changed, and then called IT to get it put back. They went
through several cycles of this (calling IT) until IT refused to make
any configuration changes whatsoever. :(
So, yes. Having multiple screens -- in the X11 sense -- should be
supported, but as the comment in the source says, it's not well tested.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden