Configuring an X server and the xorg.conf file

X.Org configuration differs slightly among versions and among Linux distributions, but essentially involves the creation of the xorg.conf file customized for your system. The file is created during the system install as devices are automatically detected and configured. Typically there is no further need for modification to the file, as it will be managed by the system. The X server uses this configuration file when it starts to set such things as keyboard and mouse selections, installed fonts, and screen resolutions.

Example 14-1 contains an xorg.conf file. (Note that the xorg.conf file shown contains example settings and is not intended for use on your system.)

Example 14-1. A sample xorg.conf file for XFree86 v3.3.3
# /etc/X11/xorg.conf (xorg X Window System server configuration file) # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath ...

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

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