What is switching my mouse between regular and "natural" scrolling

I’m running Fedora 36 with XFCE.

I have a Logitech mouse that has the capability of modifying how its scroll wheel works. The Linux driver for the mouse, hid-logitech-hidpp.c, uses this capability for smooth scrolling. So far so good.

But what is happening is that when I turn the mouse off and on the mouse switches between regular and “natural” scrolling. The flip does not happen immediately when the mouse turns on but instead there is a lag of a few seconds. I have verified that the flip is performed by actually changing how the mouse works, not by changing how the mouse messages are interpreted in software.

Is there any way to find out what program is sending the command to the mouse that is causing this switch?

1 Like

Hi @pfps Do you know dconf editor. That could help to change settings for mouse.
sudo dnf install dconf-editor
search in dconf.editor for mouse and use the appropriate part.

There is /org/gnome/desktop/peripherals/touchpad/mouse/natural-scroll, but it is off, and I’m not running Gnome.
There is also /org/xfce/mousepad but nothing there seems relevant.

In any case, why should my mouse flip between regular and “natural” scrolling each time it is turned off and on? And what program is going it? None of the normal settings should trigger this very strange behaviour.

@pfps Three possible methods to find the guilty.
Try another mouse.
try your mouse with an other computer.
look into the log files.

It turns out that I was the cause of this problem, as I had written some code that did the switching and set it up to run on every reboot. Of course, I forgot that I had done this. So mea culpa and it is very unlikely that anyone else will do something so stupid.

1 Like