# HG changeset patch # User Oleksandr Gavenko # Date 1294005597 -7200 # Node ID 0448cc4914f377adc3caf820249876701a54022d # Parent 4c821e214e3a0f15f06b6f839ab93f6c5c96ed5e Input method. diff -r 4c821e214e3a -r 0448cc4914f3 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 -silent +* 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: