Using XKB on Linux/Wayland, my desired keyboard layout combines 3 features: Sticky modifier keys, e.g. pressing either Shift key latches the Shift modifier until a letter is entered; pressing Shift twice has no effect (it latches then unlatches the modifier). Same for Control, Alt, Super. Caps Lock as an additional sticky Control key. Shift + Caps Lock to toggle traditional caps-locking behavior What XKB configuration would make this possible? I...
Originally asked by fishyfriend on Stack Exchange (superuser) (CC BY-SA 4.0).