Change Keyboard Keys - Centos 5.4


I have a damaged my tab key on my laptop and I want to change the key to another key on the keyboard.
The key cannot be repaired and it very annoying when working in the terminal without the tab key.

Does anyone know if this can be done and what configuration file I need to amend to get this done.

Who is Participating?
JordanH155Connect With a Mentor Commented:
You can create your own keymap and load it with "loadkeys".  The keymaps are usually in /lib/kbd/keymaps/i386/qwerty.  You can unzip and edit the dafault "".  The layout is pretty simple.  Find the keycode for the key you want to change to "Tab" and then change that line to "Tab".  Save the file as something new, and use "loadkeys" to load it.
deal2acesAuthor Commented:
Ill give this a go when I get home.  Ill let you know


deal2acesAuthor Commented:
Well explained answer.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.