Fix keyboard layout.

This commit is contained in:
Kolan Sh 2015-04-06 13:10:04 +03:00
parent 4164c0dab8
commit 956a326956
1 changed files with 4 additions and 1 deletions

View File

@ -10,4 +10,7 @@ os.execute (os.getenv("HOME").."/.config/awesome/set_wall.sh "..os.getenv("HOME"
os.execute ("pgrep mail_loop.sh || "..os.getenv("HOME").."/.config/awesome/mail_loop.sh &")
os.execute ("pgrep lightsOn.sh || "..os.getenv("HOME").."/.config/awesome/lightsOn.sh &")
os.execute ("pgrep wicd-client || wicd-gtk --tray &")
os.execute ("(sleep 8 && xkbcomp $DISPLAY - | egrep -v 'group . = AltGr;' | xkbcomp - $DISPLAY)&")
-- os.execute ("(sleep 8 && xkbcomp $DISPLAY - | egrep -v 'group . = AltGr;' | xkbcomp - $DISPLAY)&")
os.execute ("setxkbmap -layout 'us,ru(winkeys)'")
os.execute ("setxkbmap -option 'grp:shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp'")
os.execute ("xkbcomp $DISPLAY - | egrep -v 'group . = AltGr;' | xkbcomp - $DISPLAY")