Automated merge with file:///srv/hg/tips
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 07 Mar 2011 18:57:50 +0200
changeset 847 aabd0ddc26de
parent 844 1e5afdf631ea (current diff)
parent 846 7ea3cc9f8d82 (diff)
child 848 036b1658338c
Automated merge with file:///srv/hg/tips
--- 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: