You are not logged in.
I'm trying to get Shift + Numeric Pad to work the same way as Shift + Key Pad, i.e. to select text. Instead of that, it switches to typing number, as is NumLock is turned on.
I added this to xmodmap:
keycode 79 = Home NoSymbol Home
keycode 80 = Up NoSymbol Up
keycode 81 = Prior NoSymbol Prior
keycode 83 = Left NoSymbol Left
keycode 85 = Right NoSymbol Right
keycode 87 = End NoSymbol End
keycode 88 = Down NoSymbol Down
keycode 89 = Next NoSymbol Next
which works, but now I can't use NumLock to type numbers.
Has anyone done this before? Can you please post your solution.
Thanks.
Offline
If I get you right, I have the desired functionality by default. The corresponding lines for me are:
keycode 79 = KP_Home KP_7 KP_Home KP_7
keycode 80 = KP_Up KP_8 KP_Up KP_8
keycode 81 = KP_Prior KP_9 KP_Prior KP_9
keycode 83 = KP_Left KP_4 KP_Left KP_4
keycode 85 = KP_Right KP_6 KP_Right KP_6
keycode 87 = KP_End KP_1 KP_End KP_1
keycode 88 = KP_Down KP_2 KP_Down KP_2
keycode 89 = KP_Next KP_3 KP_Next KP_3
It looks the same at all keyboard descriptions I could load with setxkbmap.
Last edited by barto (2010-12-15 19:06:42)
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
I have the same keycodes by default but that's precisely the problem. When I use Shift + numeric pad, instead of selecting the text, I end up typing numbers.
Any other suggestions?
Offline