[ltp] Numlk on a A31p

Senectus . linux-thinkpad@linux-thinkpad.org
Wed, 23 Feb 2005 11:10:34 +0800


On Tue, 22 Feb 2005 10:39:54 -0500, Matt Graham <danceswithcrows@usa.net> wrote:
> On Tuesday 22 February 2005 00:26, after a long battle with technology,
> Senectus . wrote:
> > I can't seem to get my numlk to work at all under ubuntu.. is anyone
> > else aware of linux and numlk issues?
> 
> This needs to go into the FAQ.  As I've posted several times before,
> Thinkpads use a weird keycode for Num_Lock.  Do this:
> 
> xmodmap -e 'keycode 77 = Num_Lock'
> 
>  ...and it'll work properly.  Put that xmodmap command into
> ~/.kde/Autostart/ or wherever your desktop environment starts things.
> It still won't be that useful, since the keys aren't straight like a
> real number pad, but you'll be able to switch resolutions with
> Ctrl-Alt-(keypad +) if you didn't know about "xvidtune -next".

Thanks very much.. that works a treat
-- 
Ubuntu Warty 4.10 (desktop)
and Hoary 5.04 (Laptop) (kernel 2.6.10-19 686)