Xorg configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* 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. | * 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 = | = Xrandr = |
Revision as of 10:50, 11 January 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.