Config

Differences between revisions 55 and 68 (spanning 13 versions)
Revision 55 as of 2010-04-12 23:02:23
Size: 1863
Editor: pool-74-107-129-37
Comment:
Revision 68 as of 2014-11-10 04:57:11
Size: 2806
Editor: alexis-m2osw
Comment: marked a link as not working anymore
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
To create an initial /etc/xorg.conf file, you can have Xorg's autoconfiguration output a full blown static one for you: == 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:
Line 10: Line 13:
sudo Xorg -configure 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
Line 13: Line 28:
or create an /etc/xorg.conf containing only those sections and options that you need to override Xorg's autoconfigurated settings. == Configuring using xorg.conf.d (Ubuntu 10.04 and newer) ==
Line 15: Line 30:
== Contents == 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}}}.
Line 17: Line 32:
 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/RadeonXpress|Radeon Xpress]]
 I. [[X/ProjectorsTipsNTricks|Projectors]] Tips and Tricks
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.
Line 26: Line 34:
== Configuring using xorg.conf.d == == Configuration Recipes ==
Line 28: Line 36:
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}}}. 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]]
Line 30: Line 43:
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. 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)]]
Line 38: Line 58:
 * http://www.intellinuxgraphics.org/dualhead.html  * http://www.intellinuxgraphics.org/dualhead.html [dead link]
Line 41: Line 61:
 * 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)