Skip to content

Mouse movement using Numpad gets disabled unexpectedly

The issue

Under Settings -> Accessibility -> Mouse, one can check the box to control the mouse pointer using the Numpad. This works fine until udevadm trigger is run. After that, the mouse pointer can no longer be moved using the Numpad.

The checkbox is still checked (eventhough the option isn't actually working), and the behaviour can be restored by unchecking and re-checking the option.

Expected behaviour

Running udevadm trigger should not change the settings, especially accessibility settings.

Context

This issue has been occuring for some time, half a year at least. I noticed that it happened during system upgrades and, due to using Arch Linux, that happened quite frequently. I was able to isolate the issue to the pacman hook 30-systemd-udev-reload.hook which in turn runs

/usr/bin/udevadm control --reload
/usr/bin/udevadm trigger
/usr/bin/udevadm settle

Executing those three commands in order and checking after each one whether the Numpad still moved the mouse, it stopped working after udevadm trigger. Indeed, the hook just recently added udevadm trigger to the reloading precedure, which is about the time that I'm experiencing the issue.
I don't know enough about udevadm to further debug the issue, but if the issue isn't reproducible on other systems, I can - with guidance - provide further information on request.

System

OS: Arch Linux
Kernel: 6.4.8.arch1-1
Xfce4-settings: 4.18.3-1
Systemd: 254-1

Thank you,
Vekhir