You are not logged in.
Probably after updating last night, NumLock stopped working on my laptop. Today, I checked my desktop computer and it's the same. I'm sure it worked before on my laptop, because I got bugged by it being off on boot by default. Now I can't toggle it. However, using numlockx, I can change the state. The key also shows up in xev output, see below.
I'm using xorg-server-bug865 package instead of the vanilla xorg-server and that seems to be the problem. I tried changing back to xorg-server and then NumLock works again.
What is going on? How can I make NumLock work again while using the patched version?
I like the patched one, because it fixes a problem where xserver eats all the key combinations using Alt+Shift while you use Alt+Shift to switch keyboard layouts...
When I do 'numlockx off', xev shows this:
KeyPress event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55073652, (227,93), root:(587,454),
state 0x0, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55073870, (227,93), root:(587,454),
state 0x0, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55075776, (227,93), root:(587,454),
state 0x0, keycode 83 (keysym 0xff96, KP_Left), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55075954, (227,93), root:(587,454),
state 0x0, keycode 83 (keysym 0xff96, KP_Left), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
And this, when I do 'numlockx on':
KeyRelease event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55252781, (120,-216), root:(480,145),
state 0x10, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55254767, (120,-216), root:(480,145),
state 0x10, keycode 83 (keysym 0xffb4, KP_4), same_screen YES,
XLookupString gives 1 bytes: (34) "4"
XmbLookupString gives 1 bytes: (34) "4"
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55254915, (120,-216), root:(480,145),
state 0x10, keycode 83 (keysym 0xffb4, KP_4), same_screen YES,
XLookupString gives 1 bytes: (34) "4"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 55257030, (120,-216), root:(480,145),
state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
Last edited by dante4d (2017-02-23 23:42:40)
Offline
The patch should be fixed now. By the way, it's better to drop a short line to AUR package comments, because this forum post got unnoticed by me.
Offline
The patch should be fixed now. By the way, it's better to drop a short line to AUR package comments, because this forum post got unnoticed by me.
You're right, it would have been better to drop a comment on the AUR page. I forgot to do that.
The update solved my problem, thanks.
Offline