Config

Differences between revisions 57 and 59 (spanning 2 versions)
Revision 57 as of 2011-10-14 20:10:10
Size: 2036
Editor: static-50-53-79-63
Comment:
Revision 59 as of 2011-12-06 19:34:22
Size: 2550
Editor: static-50-53-79-63
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
== 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"
EndSection

Section "Monitor"
        Identifier "Configured Monitor"
EndSection

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

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.

Contents

  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"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

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

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 2020-10-13 09:10:05 by yktooo)