Few days back one of my keyboard key('O') came out, and I can't it intact again. Is there any way to configure another key, or a combination of key to work as a replacement of the lost key?
I'm using Ubuntu 12.04 OS.
For example, if you want the menu key to function like 'o', you can first create an xmodmap file:
Open the file and look for the line which contains the mapping for the menu key, something like:
You can also start xev, type the menu key and look for the keycode in xev's output. Then, replace everything after the equals sign with the desired mapping, i.e., if you want it to behave like 'o', use something like:
To use the new xmodmap file, type
The settings are usually lost after shutdown, however, I'm not sure if Ubuntu somehow loads the .Xmodmap automatically.