[ltp] Re: Weird keyboard problem

Matt Graham linux-thinkpad@linux-thinkpad.org
Thu, 21 Oct 2004 11:02:27 -0400


On Thursday 21 October 2004 10:15, after a long battle with technology, 
Ted Cook wrote:
> Daniel Pittman wrote:
> > On 21 Oct 2004, Ted Cook wrote:
> >>I'm having a very weird problem with my T42. When I
> >> remove it from the dock, some of my keys do not work properly.
> >> Specifically, the u, i, o, p, j, k, l, etc. all become mapped to
> >> the alternative values printed in the lower right corner of the
> >> key.
> > You have the 'numlock' key on; those are the keys that remap to
> > that.
> For some reason, those keys (and every other possible combination I
> tried) have no impact on numlock under my Xandros installation.

Thinkpads use a weird keycode for the NumLock key, like I've said on 
this mailing list and on Usenet several times.  Do this:

xmodmap -e 'keycode 77 = Num_Lock'

...and NumLock will work properly in X under Linux.  HTH,

-- 
             // Matt Graham, tester/coder for  \\
             \\ Group Infotech Electrographics //
     Cry "feature creep", and let slip the Ferrets of Code Review!
There is no Darkness in Eternity/But only Light too dim for us to see