Xorg configuration: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:


* The xrandr command line is quite useful.
* The xrandr command line is quite useful.
== Nvidia Drivers ==
* The current (February 2009) binary drivers don't support XRandR 1.2. To use multiple monitors the best is to use the proprietary TwinView Nvidia feature. It is best to use this via the nvidia-settings GUI application. This won't modify the Xorg configuration files.
* RandR will appear to be enabled in the Xorg logs, but running xrandr will never show more than the main screen.

Revision as of 17:24, 7 February 2009

Initial Xorg configuration

  • You can use X -configure, xorgconfig, or xorgcfg. I recommand to use X -configure which creates an useful skeleton file that you can then edit to suit you needs.

Keyboard Layout

  • You should add the following lines to the Xorg configuration file to allow the login window (before KDE is started) to use the correc layout:
       Option "XkbLayout"      "fr"
       Option "XkbModel"       "pc105"

Note that a list of layouts can be found in /etc/usr/share/X11/xkb/symbols.

Xrandr

  • With recent version of Xorg, manual configuration of the xorg.conf file is almost no longer needed. Xrandr kicks in, retrieves information from the monitor and configures Xorg accordingly.
  • The HorizSync, VertRefresh, Modes and Modeline options have been deprecated (although Modeline can still be used with the Option "Preferred Mode"); the only thing that is currently needed now is the Virtual option.
  • The xrandr command line is quite useful.

Nvidia Drivers

  • The current (February 2009) binary drivers don't support XRandR 1.2. To use multiple monitors the best is to use the proprietary TwinView Nvidia feature. It is best to use this via the nvidia-settings GUI application. This won't modify the Xorg configuration files.
  • RandR will appear to be enabled in the Xorg logs, but running xrandr will never show more than the main screen.