0

I spilled the tiniest amount of water on my laptop and now the left arrow key won't respond - can anyone give me a quick runthrough of how to reassign it (i'm using Ubuntu) to another key (probably the right ctrl or another)?

If the tutorial requires me to press the left arrow key (perhaps to get its binding ID or something) I won't be able to do that.

Thanks!

jobin
  • 28,567

1 Answers1

2

setkeycodes can then be used to re-assign scancode to keycode mappings.

(only know of, because usually the caps-lock are the first ones I disable)

sudo setkeycodes E01D 105

where E01D is the scancode for right-ctrl and 105 is the keycode for cursor-left.

There's even a visual editor for the mapping, I just found:

set context menu key to function as right control