You are not logged in.
So after an update about 2 weeks ago, can't remeber on what my numpad keys (arrows, end, ...) stopped working but only in certain programs like kitty terminal but only for some terminal programs(checked by installing alacritty and seeing that everything works there) and dmenu where the end and home numpad keys don't work anymore.
I searched the forum for an solution and checked the wiki but none of them work. I even reinstalled two days ago and the problem still persists.
Note: when pressing num lock all numpad number keys work normally.
Edit: This is an laptop using dwm with xkblayout hr
Last edited by CronyAkatsuki (2022-07-21 12:59:43)
Offline
Do you use any kind of input module (ibus, scim, fcitx)?
https://wiki.archlinux.org/title/Input_method
What's the output of
xev -event keyboardwhen pressing KP_Home and KP_Up?
Offline
Do you use any kind of input module (ibus, scim, fcitx)?
https://wiki.archlinux.org/title/Input_methodWhat's the output of
xev -event keyboardwhen pressing KP_Home and KP_Up?
No I don't use any input modules.
Output of
xev -event keyboard...
KeyPress event, serial 28, synthetic NO, window 0x3000001,
root 0x840, subw 0x0, time 199130, (-255,621), root:(723,662),
state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x840, subw 0x0, time 199229, (-255,621), root:(723,662),
state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x3000001,
root 0x840, subw 0x0, time 200488, (-255,621), root:(723,662),
state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x840, subw 0x0, time 200565, (-255,621), root:(723,662),
state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x3000001,
root 0x840, subw 0x0, time 343505, (-567,671), root:(411,712),
state 0x0, keycode 80 (keysym 0xff97, KP_Up), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x840, subw 0x0, time 343609, (-567,671), root:(411,712),
state 0x0, keycode 80 (keysym 0xff97, KP_Up), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
...Last edited by CronyAkatsuki (2022-07-21 06:45:28)
Offline
The events are fine.
Run "cat" in kitty and press the numpad position keys.
Is there any ouput? Which one?
Offline
The events are fine.
Run "cat" in kitty and press the numpad position keys.
Is there any ouput? Which one?
Output of cat in order up, down, left, right numpad keys:
cat
^[[A^[[B^[[D^[[COffline
So the proper control sequences go in…
What's the actual metric for "stopped working" and what is the ouput of "echo $TERM" in either kitty and alacritty?
Offline
So the proper control sequences go in…
What's the actual metric for "stopped working" and what is the ouput of "echo $TERM" in either kitty and alacritty?
Stoped working as in neovim prints weird icons when I press the numpadkeys when they worked before.
Also dmenu not allowing me to jump from start to end and reverse with KP_Home and KP_End out of nowhere, regular home and end keys do work.
There are also some other programs that also don't recognize numpad keys usage anymore when they could before just can't remember which one's.
echo $TERM
xterm-kittyEDIT: this is also the reason I'm confused since everything seems like it should work but in practice it doesn't for some weird reason.
Last edited by CronyAkatsuki (2022-07-21 08:08:12)
Offline
https://github.com/neovim/neovim/issues/19143
https://github.com/neovim/neovim/issues/14400
Try
TERM=xterm neovimAre you sure dmenu has worked before?
I've a rather old build of dmenu-ee-git around and that doesn't handle the numpad navigators at all.
Offline
https://github.com/neovim/neovim/issues/19143
https://github.com/neovim/neovim/issues/14400Try
TERM=xterm neovimAre you sure dmenu has worked before?
I've a rather old build of dmenu-ee-git around and that doesn't handle the numpad navigators at all.
Seems like the version of dmenu I installed doesn't support numpad keys also. I installed the newest one from the arch repos and they work, wiill have to update my build.
On the other hand in kitty neovim still prints weird boxes even with settings TERM to xterm, will bring the issue over to the kitty repo.
Thank you for your help will mark this issue as solved. ^-^
Offline