Config

Differences between revisions 1 and 62 (spanning 61 versions)
Revision 1 as of 2008-04-24 01:10:54
Size: 952
Editor: c-67-168-235-241
Comment: Initial draft. Mostly just pointers to other docs.
Revision 62 as of 2012-04-14 00:03:58
Size: 2849
Editor: static-50-53-79-63
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Once upon a time, long long ago, Linux users had to manually configure their X Window System in order to use graphical programs. Then came Linux distributions which provided install scripts that (most of the time) created a basic configuration file for the user, that they could then customize and/or fix. Today, we are transitioning towards a "config-less" X, that figures out everything those install scripts used to, but all inside X itself. #title X Configuration
<<Include(X/MenuBar)>>
Line 3: Line 4:
Of course, such a transition is not without some rough patches, and it's possible users may find themselves in a spot where they may still need to do some manual configuration. And that is what this page is for. 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.
Line 5: Line 6:
= References = However, sometimes you need to muck with the configuration manually, beyond what these tools allow.
Line 7: Line 8:
* https://help.ubuntu.com/community/DebuggingXAutoconfiguration
* http://wiki.debian.org/XStrikeForce/HowToRandR12
* http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
* http://www.intellinuxgraphics.org/dualhead.html
* https://help.ubuntu.com/community/MultimediaKeys
== 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"
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.

== Configuration Recipes ==

 I. [[X/Config/Input|Input device configuration]]
 I. [[X/Config/Resolution|Display resolution configuration]]
 I. [[X/Config/Multihead|Multihead configuration]]
 I. [[X/Config/SVideo|SVideo configuration]]
 I. [[X/Config/HDMI|HDMI configuration]]
 I. [[X/Config/DontZap|Ctrl-Alt-Backspace Zapping]]
 I. [[X/Config/SessionStartup|Session Startup]]
 I. [[X/RadeonXpress|Radeon Xpress]]
 I. [[X/ProjectorsTipsNTricks|Projectors]] Tips and Tricks
 * [[X/Config|Configuration]] - Configuring input devices, graphics, drivers, and more
 * [[X/KernelModeSetting]] - Configuring and using KMS (in Karmic)
 * [[X/Rootless]] - Running X as a user process, not as the root user
 * [[X/InputCoordinateTransformation]] - How to set the mapping of an input device to a display through X
 * [[https://launchpad.net/~xorg-edgers|XorgOnTheEdge]] - for bleeding edge packages
 * [[https://help.ubuntu.com/community/BinaryDriverHowto|Binary Driver Howto]]
 * [[https://help.ubuntu.com/community/HybridGraphics|Hybrid Graphics Howto]]

== Other Resources ==

 * https://help.ubuntu.com/community/DebuggingXAutoconfiguration
 * http://wiki.debian.org/XStrikeForce/HowToRandR12
 * http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
 * http://www.intellinuxgraphics.org/dualhead.html
 * https://help.ubuntu.com/community/MultimediaKeys
 * http://en.opensuse.org/GNOME/Multiscreen

----
CategoryXTeam<<BR>>

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.

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

Configuration Recipes

  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

  10. Configuration - Configuring input devices, graphics, drivers, and more

  11. X/KernelModeSetting - Configuring and using KMS (in Karmic)

  12. X/Rootless - Running X as a user process, not as the root user

  13. X/InputCoordinateTransformation - How to set the mapping of an input device to a display through X

  14. XorgOnTheEdge - for bleeding edge packages

  15. Binary Driver Howto

  16. Hybrid Graphics Howto

Other Resources


CategoryXTeam

X/Config (last edited 2020-10-13 09:10:05 by yktooo)