PDA

View Full Version : [all variants] "o" isn't working on keyboard, what can I do?



jward3010
September 18th, 2009, 10:44 PM
"o" isn't working on my keyboard, the key is physically broken and I'm wondering if there's some way I can map it to a permanent keystroke.

Currently I go into Character Map and copy an "o" to the clipboard and to type it I have to hit Ctrl-V to paste which is a major pain, especially when I copy a link to the clipboard and it kills the "o".

Any ideas?

73ckn797
September 18th, 2009, 10:52 PM
Can't find a cheap key board some where? If you are in Atlanta I have a couple of extra with a working "o".

You could pop another key off and put it in place of the "o", unless you are using a laptop. The ~ key next to the #1 would probably work and it is probably rarely used anyway.

fela
September 18th, 2009, 10:59 PM
I think you can do this with xbindkeys. Look it up though because I don't know how, just I'm sure it's possible.

jward3010
September 19th, 2009, 12:10 AM
Can't find a cheap key board some where? If you are in Atlanta I have a couple of extra with a working "o".

You could pop another key off and put it in place of the "o", unless you are using a laptop. The ~ key next to the #1 would probably work and it is probably rarely used anyway.
The actual problem is that the "o" key is physically beyond repair, the contact that is made on keyboard between two pieces of metal (or whatever way it works) is no longer happening. it degraded slowly but surely over the last couple of months. So I'll pretty much need a new keyboard as opposed to just a new "o" key - I really wish it was just that though. Thanks for the offer all the same.


I think you can do this with xbindkeys. Look it up though because I don't know how, just I'm sure it's possible.
I shall indeed look this up. Thanks.

73ckn797
September 19th, 2009, 01:54 AM
The actual problem is that the "o" key is physically beyond repair, the contact that is made on keyboard between two pieces of metal (or whatever way it works) is no longer happening. it degraded slowly but surely over the last couple of months. So I'll pretty much need a new keyboard as opposed to just a new "o" key - I really wish it was just that though. Thanks for the offer all the same.


I shall indeed look this up. Thanks.

OK. I was not certain of the full extent of the problem.

jward3010
September 19th, 2009, 01:56 AM
OK. I was not certain of the full extent of the problem.
Don't worry, I never made it that clear.

drs305
September 19th, 2009, 02:13 AM
You can reprogram the o key to something else using xmodmap.

First run "xev" in a terminal. It opens a small window. Put the cursor in the box, then press the desired replacement key to get its value. In the example, I will substitute the left Windows key (Super_L).

The Super_L key on my keyboard is 133. So I would run this command:

xmodmap -e "keycode 133 = o O"
This makes the Super_L/shift Super_L return o and O, respectively.

It's only good for the current session. You can place the command in a startup script to make it 'permanent'.

fela
September 19th, 2009, 11:08 AM
You could make the shell script with another computer or with a different keyboard, so you can access the O key that one time.

Best idea is to get a new keyboard though as other keys might break.

alienclone
September 19th, 2009, 11:48 AM
just open the on screen keyboard and click the "o" when needed