Change Keyboard Keys - Centos 5.4

Hi,

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.



LVL 2
deal2acesAsked:
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 "defkeymap.map.gz".  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.
0
 
deal2acesAuthor Commented:
Ill give this a go when I get home.  Ill let you know

Cheers

Jordon.
0
 
deal2acesAuthor Commented:
Well explained answer.
0
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.