If I want to switch between two keyboard layouts (gb and apl) by holding down the right ctrl key, I can run:
setxkbmap -layout gb,apl -variant ,dyalog -option grp:rctrl_switch
Is there anything equivalent for the left ctrl key? I've tried grp:lctrl_switch
and grp:ctrl_switch
and searched /usr/share/X11/xkb/rules/base.lst
, no luck.
(To head off criticism: yes, I know I'll need left-ctrl for other things. I have scripts that rerun setxkbmap to enable/disable the extra layout. I just need a way of binding the layout switch to left-ctrl.)