I have set up layout switching with
setxkbmap -option grp:switch,grp_led:scroll,grp:ctrl_shift_toggle us,ruwhich works, but there's no layout indication. How do I install a keyboard layout indicator in awesome WM?
52 Answers
This answer was written against a previous revision of the question, and is kept here for historical purposes.
You can make the settings persistent by editing /etc/default/keyboard.
So fot the layouts:
XKBLAYOUT="us,ru"and for the switch options:
XKBOPTIONS="grp:switch,grp_led:scroll,grp:ctrl_shift_toggle" 4 You can use new widget to set up your keyboard layouts:
Also, this widget supports "additional layouts". "Additional layouts" are those languages what you do not use very often but you need it from time to time.
For additional information, please, read description in the repository and see small screen casts how it works.