[ltp] Ubuntu Intrepid: Thinkpad T61 with keyboard lockups.

Richard Neill linux-thinkpad@linux-thinkpad.org
Sun, 02 Nov 2008 23:44:46 +0000


Thomas Adam wrote:
> 2008/11/2 Richard Neill <rn214@hermes.cam.ac.uk>:
>> Alternatively, is there one misbehaving app which has maintained a keyboard
>> grab?  Try killing them off one at a time, and see when you get your KB
>> back.
> 
> Nice idea, but this simply isn't the case -- confer with my
> observation that i am able to type into SSH windows running screen and
> have their history of what I typed recalled when I next reconnect to
> them.
> 

It still could be. I don't understand the  X internals, but imagine that 
some misbehaving app A has a keyboard grab such that A has the focus, 
but isn't reading from the keypress queue. So, your keypresses qet 
queued, and X knows where they should go, once A has released the kb.

Do try the experiment.

I've seen the mouse-equivalent in that certain of the screensaver hacks 
capture the mouse pointer, and don't release it properly.

Richard.




> -- Thomas Adam