Config

Differences between revisions 55 and 58 (spanning 3 versions)
Revision 55 as of 2010-04-12 23:02:23
Size: 1863
Editor: pool-74-107-129-37
Comment:
Revision 58 as of 2011-12-06 19:34:00
Size: 2548
Editor: static-50-53-79-63
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
 I. [[X/Config/SessionStartup|Session Startup]]
Line 26: Line 27:
== Configuring using xorg.conf.d == == Quick xorg.conf ==
Line 28: Line 29:
Files ending in *.conf in the /etc/xorg.conf.d/ directory 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}}}. Most systems don't ship with an X config file any more, but sometimes you need one. Here's a basic skeleton:
Line 30: Line 31:
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 custom overrides. {{
Section "Device"
        Identifier "Configured Video Device"
        Driver "fbdev"
EndSection
Line 32: Line 37:
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.

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)