Home » Linux Basics » 02 - X Windows - An Introduction
2
Typical X Windows Configuration Files and Location
Understanding configuration files and location
| Name/Location | Description |
| $HOME/.xinitrc | Script that merges in resource files and starts client applications |
| $HOME/.xserverrc | Script used to override default X server configuration |
| /usr/X11R6/lib/X11/xinit/xinitrc | Default script to start X and client applications |
| /usr/X11R6/lib/X11/xinit/xserverrc | Default overrides for X server configuration |
| $HOME/.Xresources | File used to describe resources for X applications |
| $HOME/.Xmodmap | File used to set up keyboard and mouse mappings |
| /usr/X11R6/lib/X11/xinit/.Xresources | Default description of resources for X applications |
| /usr/X11R6/lib/X11/xinit/.Xmodmap | Default definition of keyboard and mouse settings |
Note: If an X related script resides in the user's home directory, it is used to start up the user's X environment. Otherwise, the default in /usr/X11R6 is used instead. Users may customize their environment by editing the configuration file or by using the GUI to change and save settings.