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

Customizing the .xinitrc Startup Script

The .xinitrc, or X initialization script, is a file used by the xinit command (started by the startx command) to configure your X session, or to start other window managers and clients. The default initialization script is found under the /etc/X11/xinit directory. If you customize this file as the root operator, any changes are systemwide and affect all users. To make individual changes, copy xinitrc to your home directory with .xinitrc as the file's name by entering the following:

# cp /etc/X11/xinit/xinitrc $HOME/.xinitrc

SEE ALSO

To learn how to use .xinitrc to start different window managers for X, see page 193.

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