Config
2548
Comment:
|
2241
|
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}}}. 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 == |
Line 27: | Line 46: |
== 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. |
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
Projectors Tips and Tricks
Other Resources
X/Config (last edited 2020-10-13 09:10:05 by yktooo)