Difference between revisions of "Xorg-server 1.7 to 1.9 upgrade guide"
From Funtoo Linux
(I placed the document into the howto category.) |
(I fixed some slight English issues and fixed a small technical error.) |
||
| Line 12: | Line 12: | ||
= Configuration = | = Configuration = | ||
| − | In order to | + | In order to configure devices that hotplugging does not handle, you may use <code>/etc/X11/xorg.conf.d</code> instead of <code>/etc/X11/xorg.conf</code>. ''xorg.conf'' is optional and if you don't need any special configuration, you may use xorg without it. |
| − | == Example config: keyboard with polish | + | == Example config: keyboard with polish layout == |
{{Code|/etc/X11/xorg.conf.d/10-keyboard.conf|<pre> | {{Code|/etc/X11/xorg.conf.d/10-keyboard.conf|<pre> | ||
Section "InputClass" | Section "InputClass" | ||
Revision as of 23:53, 6 November 2010
Contents |
Before upgrade
- Backup your
/etc/X11directory. - Backup the old versions of xorg-server and drivers. This can be done with
quickpkg. -
xorg-serversupports hot plugging through the event interface so ensure theevdevdriver is enabled inINPUT_DEVICESinmake.conf.
Basic upgrade
- Read and follow Gentoo's Xorg-server 1.8 Upgrade Guide
- Read Gentoo's Xorg-server 1.9 Upgrade Guide
After upgrade
- Rebuild all drivers with new
xorg-server, you may useqlistfromportage-utilsin order to get list of installed drivers:emerge -1 $(qlist -IC x11-drivers/) -av
Configuration
In order to configure devices that hotplugging does not handle, you may use /etc/X11/xorg.conf.d instead of /etc/X11/xorg.conf. xorg.conf is optional and if you don't need any special configuration, you may use xorg without it.
Example config: keyboard with polish layout
| Code: /etc/X11/xorg.conf.d/10-keyboard.conf |
Section "InputClass" Identifier "keyboard-all" Driver "evdev" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "pl" MatchIsKeyboard "on" EndSection |