Input method.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 02 Jan 2011 23:59:57 +0200
changeset 845 0448cc4914f3
parent 771 4c821e214e3a
child 846 7ea3cc9f8d82
Input method.
x.rst
--- a/x.rst	Thu Dec 23 00:12:42 2010 +0200
+++ b/x.rst	Sun Jan 02 23:59:57 2011 +0200
@@ -16,6 +16,23 @@
   $ sudo apt-get install imagemagic
   $ import -quality 100 -pause <sec> -silent <file>
 
+* Input method.
+
+** Input method by setxkbmap.
+
+  $ 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: