--- a/x.rst Fri Mar 04 15:16:16 2011 +0200
+++ b/x.rst Mon Mar 07 18:57:50 2011 +0200
@@ -16,6 +16,25 @@
$ sudo apt-get install imagemagic
$ import -quality 100 -pause <sec> -silent <file>
+* Input method.
+
+** Input method by setxkbmap.
+
+ $ setxkbmap ru
+
+ $ setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" -variant ",winkeys"
+
+** Input method by xorg.conf.
+
+ Section "InputDevice"
+ Identifier "Keyboard0"
+ Driver "kbd"
+ Option "XkbModel" "pc105"
+ Option "XkbLayout" "us,ru"
+ Option "XkbVariant" ",winkeys"
+ Option "XkbOptions" "grp:rwin_switch,grp_led:scroll"
+ EndSection
+
* .Xdefaults
The syntax of an Xdefaults file is as follows: