Is there a way to adjust mouse Sensitivity?

I’m setup with a 27" Monitor and a Mouse, I use the onboard Keyboard whenever I rarely need one.

But I find when using the mouse it is painful slow. Is there anyway to change mouse settings within the controller? I’ve had a look at where to do it with Chromium, but it doesn’t seem to be available on the the Onefinity controller (still running v1.0.8)

Any help would be appreciated

1 Like

Hey alphonsusjude,

the quick way is to open a terminal window and to enter:

xset m 2 6

First parameter is acceleration, second is threshold. To revert to slow mode, use:

xset m 1 1

The exact description of this command is displayed with the command:

man 1 xset

Note that the effect will be lost on shutting the machine down. To make this permanent, you could try to add something to this section of the file /usr/share/X11/xorg.conf.d/40-libinput.conf:

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        # ...insert additional lines here...
EndSection

E.g. some lines like this:

        Option "AccelerationProfile"  "0"
        Option "AdaptiveDeceleration"  "real"
        Option "AccelerationScheme"  "predictable"
        Option "AccelerationNumerator"  "integer"
        Option "AccelerationDenominator"  "integer"
        Option "AccelerationThreshold"  "integer"

Where “real” has to be replaced by a floating point number and “integer” has to be replaced by integer numbers with which you tweak acceleration and threshold. The exact description of the parameters used in this configuration file is displayed with the command:

man 5 xorg.conf

An example would be:

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        # Adding these lines that work good:
        Option "AccelerationProfile"  "4"
        Option "AccelerationScheme"  "predictable"
        Option "AccelerationNumerator"  "2"
        Option "AccelerationThreshold"  "6"
EndSection

This means when crossing 6 or more pixels within 10 ms, the acceleration becomes 2 times faster. Feel free to adjust this.

Note: You must edit this file either while logged in as user ‘root’ (e.g. with sudo -i), or with the command:

sudo editor /usr/share/X11/xorg.conf.d/40-libinput.conf

1 Like

Continuing the discussion from Slow or laggy mouse:

Hey Preston,

Did you try typing this:

1 Like

I did not, I will try this later tonight. Thanks for the help!

Hey Preston,

that’s good since I just got a call and have to leave!