Wayland Linux
Bind Caps lock to Control
- in Gnome:
1gsettings set org.gnome.desktop.input-sources xkb-options "['caps:ctrl_modifier']"
- in X:
1setxkbmap -option caps:ctrl_modifier
1gsettings set org.gnome.desktop.input-sources xkb-options "['caps:ctrl_modifier']"
1setxkbmap -option caps:ctrl_modifier