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

From Funtoo Linux
Jump to: navigation, search
(I fixed a misspelling and formatted the command as code.)
Line 1: Line 1:
TODO: fix it...
+
== Before upgrade ==
 +
* Backup your /etc/X11 dir, if you will want revert update, you may need it untouched.
 +
* Good idea may be do binpackages with installed xorg-server and drivers, check quickpkg.
 +
* If you does not have evdev in INPUT_DEVICES, add it.
  
== Links ==
+
== Basic upgrade ==
* [http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml Gentoo's Xorg-server 1.8 Upgrade Guide]
+
# Read  and follow [http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml Gentoo's Xorg-server 1.8 Upgrade Guide]
* [http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.9-upgrade-guide.xml Gentoo's Xorg-server 1.9 Upgrade Guide]
+
# Read [http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.9-upgrade-guide.xml Gentoo's Xorg-server 1.9 Upgrade Guide]
  
== Must-have ==
+
== After upgrade ==
* Inputs drivers, most users will need only 'evdev' and 'synaptics' for touchpads.
+
* Rebuild all drivers with new xorg-server, you may use qlist in order to get list of installed drivers: <code>emerge -1 $(qlist -IC x11-drivers/) -av</code>
  
== Before upgrade ==
+
= Configuration =
* Backup your /etc/X11 dir.
+
In order to config inputs 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 config, you may use xorg without it.
* If you wish, backup your built packages <code>quickpkg --include-config=y xorg-server xf86-input-<foo> xf86-video-<foo></code>
+
== Example config: keyboard with polish charset ==
 +
{{Code|/etc/X11/xorg.conf.d/10-keyboard.conf|<pre>
 +
Section "InputClass"
 +
Identifier "keyboard-all"
 +
Driver "evdev"
 +
Option "XkbRules"  "xorg"
 +
Option "XkbModel"  "pc105"
 +
Option "XkbLayout" "pl"
  
== After upgrade ==
+
MatchIsKeyboard "on"
Make sure that all drivers are built with current xorg-server. To rebuild them all, do:
+
EndSection
"emerge -1 $(qlist -IC x11-drivers/)"
+
 
 +
</pre>}}

Revision as of 22:22, 6 November 2010

Contents

Before upgrade

  • Backup your /etc/X11 dir, if you will want revert update, you may need it untouched.
  • Good idea may be do binpackages with installed xorg-server and drivers, check quickpkg.
  • If you does not have evdev in INPUT_DEVICES, add it.

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 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