MouseKeys state gets reset consistently after a while
First of all, I'm sorry if I'm reporting this on the wrong place. If that's the case, I'll be very happy if someone guide me to the correct bug tracker.
My OS is Arch Linux, and have a minimal installation with i3. No Gnome, KDE or any of those.
pacman -Qet (prints all packages explicitly installed on the system):
My issue is with the MouseKeys feature, which gets reset to
off if I don't use it for 2-3 minutes.
I want it to stay
on all the time.
My understanding of this feature is that its state can only be toggled by pressing the shortcut for
XK_Pointer_EnableKeys, which for me is
For a better understanding of what is happening to me, I created a simple shell script that looks like this:
while true; do date && xset q | grep 'Mouse Keys' sleep 10s done
Then I did 2 tests.
On the first test, I turned on MouseKeys by pressing
Shift+NumLock, then started the script.
After a while just watching it, something (I really want to know what this something is) turns MouseKeys off. As soon as I notice it, I press
Shift+NumLock to turn on again. I repeated this process for a while.
On the second test, I turned on MouseKeys, started the script and kept moving my mouse using the Numpad. While moving the mouse with the Numpad there is no issue at all. When I got tired, I stopped moving the mouse with the Numpad and after a while I saw the MouseKeys getting off again.
Going into more details, on the first test, 5 of 6 times MouseKeys changed from
off by itself after exactly 2 minutes. 1 of 6 times MouseKeys changed from
off by itself after exactly 3 minutes.
On the second test, I stopped moving my mouse using Numpad after this was printed.
Wed Oct 14 06:44:59 PM JST 2020 12: Group 2: off 13: Mouse Keys: on
Then MouseKeys changed from
off by itself after exactly 2 minutes.
You can also check the raw logs I attached bellow.
The culprit knows the last time I used MouseKeys. It tracks the last time it was used, and if it there is no usage within 2 minutes, it turns MouseKeys off.
I'm not even aware of a command that turns it off, so I don't think a script could be doing this...
If any other information is needed, please tell me and I'll happily add here. Thank you in advance.