There are many questions on here about remapping Caps Lock
to another special key, such as Ctrl
or Esc
. However, I want to map Caps Lock
to the A
key. (My keyboard's physical A
key broke, so when I don't have an external keyboard plugged in, to type A
I have to use an on-screen keyboard which is not as convenient, and sometimes very difficult like on certain login screens.)
As mentioned, many existing answers talk about settings that already exist for disabling Caps Lock
, or swapping Caps Lock
and Esc
, but none of those preexisting settings are what I need.
I have tried using xmodmap
to no avail, and additionally the setxkbmap
options ctrl:nocaps
and caps:none
do not even disable Caps Lock
for me, but that might be a separate issue. Just included in case it's a helpful clue, but it is not the primary problem.