0

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.

tscizzle
  • 113
  • They call it the input mapper now, but it is something that might be able to help you: https://ubuntuhandbook.org/index.php/2021/07/remap-keyboard-gamepad-ubuntu/ – Terrance Oct 09 '22 at 04:54

1 Answers1

0

Yes, you can use the remapper deamon keyd for this purpose. See this answer for installation, usage and tips.

After installation, use this config:

[ids]

[main]

capslock = a

Rasmus
  • 8,375