Config

Differences between revisions 56 and 68 (spanning 12 versions)
Revision 56 as of 2010-04-21 06:02:41
Size: 1987
Editor: 62
Comment:
Revision 68 as of 2014-11-10 04:57:11
Size: 2806
Editor: 162-226-130-121
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 12: Line 27:

or create an /etc/xorg.conf containing only those sections and options that you need to override Xorg's autoconfigurated settings.

== Contents ==

 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
Line 32: Line 34:
== 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)]]

Line 37: Line 58:
 * http://www.intellinuxgraphics.org/dualhead.html  * http://www.intellinuxgraphics.org/dualhead.html [dead link]
Line 40: 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 2020-10-13 09:10:05 by yktooo)