Customizing X11

There are a number of things you can customize in X11. For example, you can customize your xterm window, set X11 application preferences, customize the X11 application and Dock menus, and specify which window manager to use.

Dotfiles, Desktops, and Window Managers

To customize X11, you can create an .xinitrc script in your home directory. A sample .xinitrc script is provided in /etc/X11/xinit/xinitrc.

Using the script as a starting point, you can specify which X11-based applications to start when X11 is launched, including which window manager you’d like to use as your default. The default window manager for X11 is the Quartz window manager (or quartz-wm). The tab window manager (or twm) is also bundled with X11, but many other window managers are available. You can visit the following web sites to get instructions and binaries for a variety of window managers and DTEs:

If you’re going to use your own .xinitrc file and want to use the Quartz window manager, make sure you start the Quartz window manager with the command:

exec /usr/X11R6/bin/quartz-wm &

Once you’ve installed X11, you will probably want to install additional X11 applications, window managers, and perhaps other DTEs (even if you are using Apple’s window manager, you can still run most binaries from other DTEs such as GNOME and KDE even without ...

Get Mac OS X Panther in a Nutshell, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.