sxhkd - numeric keypad - assigning shortcuts?

Any one know how to assign a hotkey to the numbers on the numeric keypad?
I have tried:

super + KP_1

Nothing. Strangley:

super + KP_Add

super + KP_Subtract

Works perfectly. Bopp(m) are just my scripts to toggle the opacity in Alacritty.

What does the xev say? Is numlock on?

xev reports KP_n and yes num lock is on.

KeyRelease event, serial 28, synthetic NO, window 0xbc00001,
    root 0x16a, subw 0x0, time 24176554, (122,267), root:(958,754),
    state 0x10, keycode 87 (keysym 0xffb1, KP_1), same_screen YES,
    XLookupString gives 1 bytes: (31) "1"
    XFilterEvent returns: False

Numlock is turned on with numlockx on.

showkey returns 0x4f 0x3f

With numlock off - KP_End also works.

Seems like sxhkd ignores NumLock on status.

In my keyboard;
super + KP_Endsuper + KP_1
super + KP_Downsuper + KP_2
super + KP_Nextsuper + KP_3

And the keysyms do not appear to work either, bummer.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by