X11 on a single screen in a dual monitor setup

Hello,

I'd like to be able to run X11 on a single monitor (in full screen mode) in a dual monitor setup --- when I start up X11 now, it defaults to using both monitors as a single screen (vs. screens 😮.0, 😮.1 in Linux sans Xinerama).

Any ideas, anyone?

Thanks!

2.3GHz DP PowerMac & 1 GHz TiBook, Mac OS X (10.4)

Posted on May 1, 2006 5:00 PM

Reply
7 replies

May 2, 2006 2:39 PM in response to Nils C. Anderson

Michael,

the reason for this is that you have a single display.

😮.0
😮.1

for both monitors. from X(7)

displaynumber
The phrase "display" is usually used to refer to collection of
monitors that share a common keyboard and pointer (mouse,
tablet, etc.). Most workstations tend to only have one key-
board, and therefore, only one display. Larger, multi-user
systems, however, frequently have several displays so that more
than one person can be doing graphics work at once. To avoid
confusion, each display on a machine is assigned a display num-
ber (beginning at 0) when the X server for that display is
started. The display number must always be given in a display
name.

But then, it's possible that I may be wrong.

Andy

May 3, 2006 7:59 PM in response to Nils C. Anderson

Hi Andy,

I really appreciate your help!

I believe you're correct in that I wouldn't be able to start the X server and have it only produce output on one of my monitors, as they are necessarily part of a single "display" (in OS X, at least). Barring that, however, I wanted to be able to at least keep X11 from creating a single screen that spanned both my monitors (the problem with this is that it doesn't recognize the separate monitor geometries, so large chunks of the virtual spanning screen were inaccessible, and it also made dealing with X apps that are none dual-head friendly a pain). On my linux machine, I was able to get this behavior by default (i.e., separate screens named '😮.0 and 😮.1' under a single X display), and could get monitor spanning only after enabling the Xinerama extension.

I fiddled with Apple's X11, which I'd installed on my Desktop, to no avail. Nowhere could I disable the screen-spanning behavior. On a hunch, I decided to try out XDarwin, however, and lo and behold --- a checkbox for enabling/disabling Xinerama! In addition, XDarwin seems to be better behaved than Apple's X11 when it comes to correctly sourcing some of my $HOME/.X* configuration files (e.g., I always had to run xmodmap ~/.Xmodmap manually under X11, even after putting the command in my .xinitrc).

Anyway, that basically gave me what I needed, so I'm a happy camper. Just thought I'd post this in the unlikely event that someone else is in the same situation. Oh, and if you're curious, the reason I needed to do this in the first place was because I wanted to run the ratpoison windows manager fullscreen --- great for dealing with ADD!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

X11 on a single screen in a dual monitor setup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.