Saturday, March 29, 2008

xorg.conf Cyrillic Keyboard Configuration

        Option          "XkbLayout"     "us,ru(winkeys)"
        Option          "XkbVariant"    "base"
        Option          "XkbOptions"    "grp:alt_shift_toggle"

The first line adopts Windows keyboard cyrillic layout for Russian, the second line allows using hotkeys like <Ctrl>+C while being in Russian layout, the third line adopts Windows' <Alt>+<Shift> key for switching between keyboard layouts.