For a few days some my keyboard has start to make me a lot of trouble:

  • the backspace key works 50% of the time
  • the tab and y keys inserts a “t”. The tab might not seem so important unless you are a terminal user.

Cleaning the keyboard did not do anything so in order to be able to use the keyboard I decided to remap some of the keys:

  • del -> backspace
  • F1 -> tab

First I needed to use the xev command to detect the keycodes of the F1 and Del tastes then to find the codes associated with Backspace and Tab. Here is the result:

~$ xmodmap -e "keycode 107 = 0xff08"<br></br>~$ xmodmap -e "keycode 67 = 0xff09"