I have set up layout switching with
setxkbmap -option grp:switch,grp_led:scroll,grp:ctrl_shift_toggle us,ru
which works, but there's no layout indication. How do I install a keyboard layout indicator in awesome WM?
I have set up layout switching with
setxkbmap -option grp:switch,grp_led:scroll,grp:ctrl_shift_toggle us,ru
which works, but there's no layout indication. How do I install a keyboard layout indicator in awesome WM?
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"
setxkbmap -query
outputs.
Feb 4, 2017 at 16:04
You can use new widget to set up your keyboard layouts: https://github.com/echuraev/keyboard_layout
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.