GNOME

Turn caps lock into control key

dconf write /org/gnome/desktop/input-sources/xkb-options "['ctrl:nocaps']"