Set keyboard layout toggle.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 13 Apr 2012 21:54:30 +0300
changeset 340 7ec51d447f22
parent 339 87ba9bf5f1dd
child 438 65413b4c91ba
Set keyboard layout toggle.
.xinitrc
--- a/.xinitrc	Tue Apr 10 00:04:16 2012 +0300
+++ b/.xinitrc	Fri Apr 13 21:54:30 2012 +0300
@@ -10,6 +10,7 @@
 # Set lang switch.
 # Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
 # setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" &
+setxkbmap -option grp:rwin_toggle us,ru
 
 # Root window parameter.
 # Color names check from /etc/X11/rgb.txt or enter in hex: #aabbcc.