Config

Differences between revisions 1 and 67 (spanning 66 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 67 as of 2013-09-27 20:20:02
Size: 2794
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 ==

General Configuration
 * [[X/Config/SessionStartup|Session Startup]] - .xprofile, .xsessionrc, .gnomerc
 * [[X/Rootless|Rootless X]] - Running X as a user process, not as the root user
 * [[https://launchpad.net/~xorg-edgers|Xorg On The Edge]] - for bleeding edge packages
 * [[X/Config/Input|Input device configuration]]
 * [[X/Config/Keyboard|Keyboard configuration]]

Display Configuration
   * [[X/Config/Resolution|Display resolution configuration]]
   * [[X/Config/Multihead|Multihead configuration]]
   * [[X/Config/SVideo|SVideo configuration]]
   * [[X/Config/HDMI|HDMI configuration]]
   * [[https://help.ubuntu.com/community/BinaryDriverHowto|Binary Driver Howto]]
   * [[https://help.ubuntu.com/community/HybridGraphics|Hybrid Graphics Howto]]
   * [[https://wiki.ubuntu.com/X/Config/HybridGraphics|Hybrid Graphics (12.04.3 or >=13.10)]]


== 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
 * https://wiki.debian.org/XStrikeForce/InputHotplugGuide
 * https://help.ubuntu.com/community/MultimediaKeys
----
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

General Configuration

Display Configuration

Other Resources


CategoryXTeam

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