Numlock key doesn't work on IBM t42
Bug #35080 reported by
Claire Davis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xkeyboard-config (Ubuntu) |
Fix Released
|
High
|
Paul Sladen |
Bug Description
The Numlock key on the internal keyboard of my T42 no longer works in X since upgrading to Dapper. It does however both work on the console and in X with an external USB keyboard.
To post a comment you must log in.
By default X (ab)uses the NumLock key to switch the number pad keys into Mouse-emulation mode, where the number keys control the pointer.
On the ThinkPads, the sequence:
Shift-ScrLock
produces the NumLock key (code 77). This needs to be mapped by the correct behaviour in X, in this case with:
xmodmap -e 'keycode 77 = Num_Lock'
I'm not sure how to get this automatically loaded for ThinkPads. I tried doing hacks in 'hotkey-setup', since that already has code to detect the model of computer, but that seems to make things things worse.
The long-term solution may well be just to have NumLock do what NumLock should do, rather than abusing it to do another function. Especially since the accessibility frameworks have better of exposing the control this functionality.