X.org X on Darwin and Mac OS X : Hardware Support and Configuration
Previous: Introduction
Next: Getting Started

2. Hardware Support and Configuration

The X window server for Darwin and Mac OS X provided by the X.Org Foundation. is called XDarwin. XDarwin can run in three different modes. On Mac OS X, XDarwin runs in parallel with Aqua in full screen or rootless modes. These modes are called Quartz modes, named after the Quartz 2D compositing engine used by Aqua. XDarwin can also be run from the Darwin console in IOKit mode.

In full screen Quartz mode, when the X Window System is active, it takes over the entire screen. You can switch back to the Mac OS X desktop by holding down Command-Option-A. This key combination can be changed in the user preferences. From the Mac OS X desktop, click on the XDarwin icon in the Dock to switch back to the X window system. (You can change this behavior in the user preferences so that you must click the XDarwin icon in the floating switch window instead.)

In rootless mode, the X window system and Aqua share your display. The root window of the X11 display is the size of the screen and contains all the other windows. The X11 root window is not displayed in rootless mode as Aqua handles the desktop background.

From the console, the Darwin port of X11R6.7.0 uses the IOKit for device driver loading and discovery, rather than the X11R6.7.0 module loader. Because of this, the X11R6.7.0 configuration file is not used on Darwin or Mac OS X systems. The descriptions found elsewhere of devices supported by X11R6.7.0 for other operating systems also do not apply.

X11R6.7.0 for Darwin or Mac OS X will work with any video card that you have an IOKit driver for. If you are running Mac OS X, this typically means any card that has been shipped by Apple. If a card works for you with the Mac OS X GUI, it will work on the same machine with X11R6.7.0. If you have a pure Darwin installation, you may need to download additional third-party drivers from Apple's Darwin site. IOKit drivers are typically installed in /System/Library/Extensions/ or /Library/Extensions/.

Multi-button and scroll wheel mouse support works well with all USB mice that I have tested. I have done no testing with ADB mice, but without a special driver, only a single mouse button will work on an ADB mouse.


X.org X on Darwin and Mac OS X : Hardware Support and Configuration
Previous: Introduction
Next: Getting Started