O'Reilly logo

Practical Linux by Bill Ball, John Ray, Michael Turner, M. Drew Streib

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Starting a Window Manager

Most window managers are started by line entries in a file called .xinitrc in your home directory. The systemwide default .xinitrc file is found under the /etc/X11/xinit or /usr/X11R6/lib/X11/xinit directory. When you first start X (as detailed in the section Starting X11 in Chapter 12, "Running and Configuring X11"), the xinit program (started by the startx command) first looks for the initializer file .xinitrc in your home directory. If it is not found, xinit then looks for .xinitrc in the /usr/X11R6/lib/X11/xinit directory.

You do not have to use the default .xinitrc system file, but if you want to experiment, use the cp command to copy and create your own .xinitrc file, like this:

 # cp /usr/X11R6/lib/X11/xinit/xinitrc ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required