Difference between revisions of "Xorg-server 1.7 to 1.9 upgrade guide"

From Funtoo Linux
Jump to: navigation, search
(I cleaned up some of the English and formatting.)
Line 1: Line 1:
 
== Before upgrade ==
 
== Before upgrade ==
* Backup your /etc/X11 dir, if you will want revert update, you may need it untouched.
+
* Backup your <code>/etc/X11</code> directory.
* Good idea may be do binpackages with installed xorg-server and drivers, check quickpkg.
+
* Backup the old versions of xorg-server and drivers. This can be done with <code>quickpkg</code>.
* If you does not have evdev in INPUT_DEVICES, add it.
+
* <code>xorg-server</code> supports hot plugging through the event interface so ensure the <code>evdev</code> driver is enabled in <code>INPUT_DEVICES</code> in <code>make.conf</code>.
  
 
== Basic upgrade ==
 
== Basic upgrade ==
Line 9: Line 9:
  
 
== After upgrade ==
 
== After upgrade ==
* Rebuild all drivers with new xorg-server, you may use qlist in order to get list of installed drivers: {{Root|emerge -1 $(qlist -IC x11-drivers/) -av}}
+
* Rebuild all drivers with new <code>xorg-server</code>, you may use <code>qlist</code> from <code>portage-utils</code> in order to get list of installed drivers: {{Root|emerge -1 $(qlist -IC x11-drivers/) -av}}
  
 
= Configuration =
 
= Configuration =

Revision as of 23:48, 6 November 2010

Contents

Before upgrade

  • Backup your /etc/X11 directory.
  • Backup the old versions of xorg-server and drivers. This can be done with quickpkg.
  • xorg-server supports hot plugging through the event interface so ensure the evdev driver is enabled in INPUT_DEVICES in make.conf.

Basic upgrade

  1. Read and follow Gentoo's Xorg-server 1.8 Upgrade Guide
  2. Read Gentoo's Xorg-server 1.9 Upgrade Guide

After upgrade

  • Rebuild all drivers with new xorg-server, you may use qlist from portage-utils in order to get list of installed drivers:
    emerge -1 $(qlist -IC x11-drivers/) -av


Configuration

In order to config inputs 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 config, you may use xorg without it.

Example config: keyboard with polish charset

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

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff