HOWTO swap the IDIOT (caps lock) and CTRL keys for Librem 5 external keyboard

Recently got a dock and external keyboard working with the Librem 5 but couldn’t find any place in Gnome settings to swap the Caps lock and CTRL keys.

Since the Librem 5 PureOS Crimson 11 uses Wayland, the setxkbmap -option ctrl:swapcaps command is useless.

Enter the dconf terminal fix:

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

Happy key sequence pressing… :saluting_face:

2 Likes