You are not logged in.

#1 2021-04-05 19:18:17

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

[SOLVED] My numpad will only work as a mouse

Hello everyone, It's really been a long time since I've been trying to fix this problem on Xorg. My numpad only works as a mousepad (kind of) so I can't use numbers (when numlock is activated) or other keys like home, left, down, up etc.
I already tried :
- the "shift + numlock" keybinding
- Already checked my xorg.conf and my 00-keyboard.conf
- Already checked the archwiki or everywhere for fixing this (but I accept anyway possible links that could provide the fix for this problem)
-I swapped my "XkbModel" from pc105 to pc104 but since it didn't work I went back to pc105

This problem anyway seems to disappear after restarting Xorg an undefined number of times. I will attach here my xorg.conf and 00-keyboard.conf anyway for possible "errors" in the configuration I didn't notice..

xorg.conf
https://pastebin.com/PW8V2GF4

00-keyboard.conf
https://pastebin.com/U2774RWS

I would be really thankful if someone could help me on this..thanks in advance

Last edited by emanuelejsk (2021-04-06 08:01:54)

Offline

#2 2021-04-05 19:58:34

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,366

Re: [SOLVED] My numpad will only work as a mouse

Have you tried just deleting both xorg.conf and, indeed /usr/share/X11/xorg.conf/* (or, probably better, moving them out of the way)?


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#3 2021-04-05 20:54:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED] My numpad will only work as a mouse

Option       "Xkb0tions"  "numpad:microsoft"

wtf is that?

https://wiki.archlinux.org/index.php/Ac … Mouse_keys

xset q | grep "Mouse Keys"
setxkbmap -print -query

What desktop environment do you use?

Offline

#4 2021-04-05 22:14:34

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED] My numpad will only work as a mouse

Roken wrote:

Have you tried just deleting both xorg.conf and, indeed /usr/share/X11/xorg.conf/* (or, probably better, moving them out of the way)?

No actually because I didn't touch anything if not some option trying to fix this problem that clearly didn't work

Offline

#5 2021-04-05 22:19:28

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED] My numpad will only work as a mouse

seth wrote:

Option       "Xkb0tions"  "numpad:microsoft"

wtf is that?

https://wiki.archlinux.org/index.php/Ac … Mouse_keys

xset q | grep "Mouse Keys"
setxkbmap -print -query

What desktop environment do you use?

The output of "xset q | grep "Mouse Keys" is : 12: Group 2:     off    13: Mouse Keys:  on

numpad:microsoft was just something I added few hours ago trying to fix this problem, didn't work..

The output of "setxkbmap -print -query" is :
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete"    };
    xkb_symbols   { include "pc+it+inet(evdev)"    };
    xkb_geometry  { include "pc(pc105)"    };
};
rules:      evdev
model:      pc105
layout:     it

I am using bspwm, with no desktop environment

EDIT : btw as you can see the option "pointerkeys" is not enabled, So I can't understand why it is enabled and I can't even disable it

Last edited by emanuelejsk (2021-04-05 22:25:23)

Offline

#6 2021-04-06 07:05:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED] My numpad will only work as a mouse

Please use code tags for shell IO.

xset -led named 'Mouse Keys'

Something™ seems to activate it programatically.

Offline

#7 2021-04-06 07:35:43

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED] My numpad will only work as a mouse

seth wrote:

Please use code tags for shell IO.

xset -led named 'Mouse Keys'

Something™ seems to activate it programatically.

Wow! this fixed it, thank you a lot!

Offline

#8 2021-04-06 07:43:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED] My numpad will only work as a mouse

Well, it didn't "fix" it but altered the state.
Something™ will likely re-introduce that on the next login and something™ is either in your startup script or bspwm config. You probably want to elimintate that something™.

Offline

#9 2021-04-06 07:51:33

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED] My numpad will only work as a mouse

seth wrote:

Well, it didn't "fix" it but altered the state.
Something™ will likely re-introduce that on the next login and something™ is either in your startup script or bspwm config. You probably want to elimintate that something™.

Ok I found the problem, I had "xset led on" at the startup and apparently it also activates this other option..

Last edited by emanuelejsk (2021-04-06 07:59:31)

Offline

#10 2021-04-06 07:57:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED] My numpad will only work as a mouse

#keyboard light
xset led on

Offline

#11 2021-04-06 08:01:30

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED] My numpad will only work as a mouse

seth wrote:
#keyboard light
xset led on

Yeah I just realized as well, thank you a lot for your help!

Offline

Board footer

Powered by FluxBB