/usr/bin/Xorg
; a symbolic link X
pointing to this file is also provided. Associated configuration files are stored in the /etc/X11/
and /usr/share/X11/
directories.
xorg.conf.d
directory contain preconfigured settings from vendors and from distribution, and these files should not be edited by hand. Configuration in the xorg.conf
file, on the other hand, is done completely by hand but is not necessary in most scenarios.
When do you need the xorg.conf file?
/etc/X11/xorg.conf
, that was necessary in previous releases, is not supplied with the current release of the X Window System. It can still be useful to create the file manually to configure new hardware, to set up an environment with multiple video cards, or for debugging purposes.
/usr/lib/xorg/modules/
(or /usr/lib64/xorg/modules/
) directory contains X server modules that can be loaded dynamically at runtime. By default, only some modules in /usr/lib/xorg/modules/
are automatically loaded by the X server.
mouse
, kbd
, or vmmouse
driver configured in the xorg.conf
file are, by default, ignored by the X server. See Section B.3.3.3, “The ServerFlags
section” for further details. Additional configuration is provided in the /etc/X11/xorg.conf.d/
directory and it can override or augment any configuration that has been obtained through HAL.
Section "section-name"
line, where "section-name" is the title for the section, and ends with an EndSection
line. Each section contains lines that include option names and one or more option values. Some of these are sometimes enclosed in double quotes ("
).
/etc/X11/xorg.conf
file accept a boolean switch which turns the feature on or off. The acceptable values are:
1
, on
, true
, or yes
— Turns the option on.
0
, off
, false
, or no
— Turns the option off.
#
) are not read by the X server and are used for human-readable comments.
# This file is autogenerated by system-setup-keyboard. Any # modifications will be lost. Section "InputClass" Identifier "system-setup-keyboard" MatchIsKeyboard "on" Option "XkbModel" "pc105" Option "XkbLayout" "cz,us" # Option "XkbVariant" "(null)" Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll" EndSection