Differences between revisions 58 and 59
Revision 58 as of 2011-12-06 19:34:00
Size: 2548
Editor: bryce
Revision 59 as of 2011-12-06 19:34:22
Size: 2550
Editor: bryce
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
{{ {{{
Line 46: Line 46:
}} }}}

Today's X rarely requires manual configuration. X now automatically configures itself with reasonable defaults. Both GNOME and KDE provide GUI utilities for customizing settings beyond these defaults if you like.

However, sometimes you need to muck with the configuration manually, beyond what these tools allow.

To create an initial /etc/xorg.conf file, you can have Xorg's autoconfiguration output a full blown static one for you:

sudo Xorg -configure

or create an /etc/xorg.conf containing only those sections and options that you need to override Xorg's autoconfigurated settings.


  1. Input device configuration

  2. Display resolution configuration

  3. Multihead configuration

  4. SVideo configuration

  5. HDMI configuration

  6. Ctrl-Alt-Backspace Zapping

  7. Session Startup

  8. Radeon Xpress

  9. Projectors Tips and Tricks

Quick xorg.conf

Most systems don't ship with an X config file any more, but sometimes you need one. Here's a basic skeleton:

Section "Device"
        Identifier      "Configured Video Device"
        Driver          "fbdev"

Section "Monitor"
        Identifier      "Configured Monitor"

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"

Configuring using xorg.conf.d (Ubuntu 10.04 and newer)

Files ending in *.conf in the /usr/lib/X11/xorg.conf.d/ directory (NOTE: will be changed to /usr/share/X11/xorg.conf.d for 10.10) are automatically loaded by X at start prior to reading the xorg.conf. These files can each contain one or more Sections in the same format used by xorg.conf.

Users can continue making custom configuration in /etc/xorg.conf as usual; the .conf snippets are mainly there for the distro or hw vendor to ship default InputClass rules and custom overrides.

Other Resources

X/Config (last edited 2014-11-10 04:57:11 by alexis-m2osw)