Prev | Current Page 83 | Next

Chris Tyler

"X Power Tools"

13).
It??™s a good idea to save any working xorg.conf file before overwriting it
with a new one, in case you find that you need to revert to a previous
version:
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.original
You can keep as many versions of this file as seem practical (on many
systems, you??™ll see multiple versions, such as xorg.conf.original,
xorg.conf.low-res, xorg.conf.videoprojector, and so forth).
If the server appears to work properly and you wish to use it as the default configuration,
install it by copying it to /etc/X11/xorg.conf:
# cp /root/xorg.conf.new /etc/X11/xorg.conf
3.5
44 Chapter 3: Basic X.org Configuration
Even if the automatically generated configuration doesn??™t work, it is
usually easier to start with that file and fine-tune it than to write a configuration
file from scratch.
3.5 The xorg.conf Configuration File
The xorg.conf configuration file is divided into five basic sections (and there are eight
optional sections; see Section 3.6). Knowing the purpose of each of these sections is
the key to understanding the xorg.conf file.
ServerLayout
Defines how the screens and input devices are combined to form a display
configuration.
Screen
Combines one video card (or Device in xorg.


Pages:
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95