slitaz-tools rev 416
tazx: fix /etc/X11/xorg.conf keyboard patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 28 15:38:59 2009 +0100 (2009-12-28) |
parents | cf3f10a1e2dc |
children | 3ecea9fb57db |
files | tinyutils/tazx |
line diff
1.1 --- a/tinyutils/tazx Tue Dec 22 18:31:28 2009 +0100 1.2 +++ b/tinyutils/tazx Mon Dec 28 15:38:59 2009 +0100 1.3 @@ -66,6 +66,8 @@ 1.4 --- /etc/X11/xorg.conf 1.5 +++ /etc/X11/xorg.conf 1.6 @@ -26,6 +26,8 @@ 1.7 + Section "InputDevice" 1.8 + Identifier "Keyboard0" 1.9 Driver "kbd" 1.10 + Option "XkbLayout" "us,ru(winkeys)" 1.11 + Option "XkbVariant" "grp:alt_shift_toggle" 1.12 @@ -80,6 +82,8 @@ 1.13 --- /etc/X11/xorg.conf 1.14 +++ /etc/X11/xorg.conf 1.15 @@ -26,6 +26,8 @@ 1.16 + Section "InputDevice" 1.17 + Identifier "Keyboard0" 1.18 Driver "kbd" 1.19 + Option "XkbLayout" "si" 1.20 + Option "XkbOptions" "grp:alt_shift_toggle" 1.21 @@ -97,7 +101,9 @@ 1.22 patch -p0 <<EOF 1.23 --- /etc/X11/xorg.conf 1.24 +++ /etc/X11/xorg.conf 1.25 -@@ -26,6 +26,8 @@ 1.26 +@@ -26,5 +26,7 @@ 1.27 + Section "InputDevice" 1.28 + Identifier "Keyboard0" 1.29 Driver "kbd" 1.30 + Option "XkbLayout" "$KEYMAP" 1.31 EndSection