13

I'm trying to map caps lock to control in a terminal. X is not enabled. Distro is Arch linux. Is this possible?

So8res
  • 1,539

3 Answers3

6

BAM, emacs wiki has the answer. Loadkeys does the trick.

So8res
  • 1,539
4

Just for future reference, wiki of your distro had (or now has) you covered: https://wiki.archlinux.org/index.php/KEYMAP

0

Yes, it should be possible. In this Arch Linux wiki page, there's a lengthy example of remapping a keyboard with xmodmap. In another Arch Linux discussion forum post, another user discusses his xmodmap configuration to disable the caps lock key. You should be able to remap your caps lock to control.

JW8
  • 1,202
  • 3
  • 13
  • 26