force modifier keys off?

Chris Tyler chris at tylers.info
Fri Aug 7 12:37:23 UTC 2009


On Fri, 2009-08-07 at 08:25 -0400, Tom Horsley wrote:
> My system just became convinced that the control and shift
> modifier keys were pressed all the time (don't ask me how
> it got in this state). I finally just rebooted to set
> everything back to normal.
> 
> Is there any handy utility I can use to tell the X server:
> "Trust me, there are no modifier keys pressed."? If it
> happens again, it would be nice to have it so I don't
> have to reboot to fix it :-).
> 
> Maybe use the X test extension to send key release events
> for all modifier keys?

Pressing each of the modifiers in succession has cleared this for me in
the past -- the key-released scancodes are convincing evidence that the
key is no longer pressed. YMMV.

-Chris




More information about the users mailing list