Threshold defines the point at which acceleration should occur in pixels per 10 ms. if you want to make it faster you can use 2/1, 3/1, 4/1. acceleration can be a fraction, so if you want to slow down the mouse you can use 1/2, 1/3, 1/4. threshold is the velocity required for acceleration to become effective, usually measured in device units per 10ms. Where acceleration defines how many times faster the cursor will move than the default speed. Some devices the use Logitech Unifying Recceiver share the same USB connection therefore, the mouse do not appear using lsusb Using xset If you are unable to identify your device, try running xinput list. $ lsusb -v | grep -e idProduct -e idVendor Run lsusb to find out the product name and vendor to match: You can also assign settings to specific hardware by using "MatchProduct", "MatchVendor" and other matches inside class sections. # linear deceleration (mouse speed reduction) # set the following to 1 1 0 respectively to disable acceleration.ĮndSection /etc/X11//nf Section "InputClass" Reason: Do not use comments in code blocks, provide more description in the wiki text instead. Setting mouse acceleration In Xorg configuration To make changes persistent under X create a file like this: Under X xf86-input-libinput reads the xorg configuration files and applies the options. Under Wayland configuration is restored by the desktop environment. Libinput does not store configuration options, it is up to the caller to manage these. $ xinput -set-prop 'libinput Accel Speed' Check this plot to see the impact of different acceleration speed values. Note that the acceleration speed has to be in the range of. This provides 1:1 movement between the device and the pointer on-screen.įind the id of your device with xinput list and set the acceleration speed with the following command.
When using the flat pointer acceleration profile, the acceleration factor is constant regardless of the velocity of the pointer. Feedback settings set with xset m are effectively ignored.
libinput relies on the resolution reported by evdev. When using the adaptive pointer acceleration profile, libinput calculates the mouse acceleration depending on the DPI and the parameter Acceleration Speed.
Alternatively, gnome-tweaks can also be used to edit the org/gnome/desktop/peripherals/mouse/acceleration-profile. A choice between "adaptive" and "flat" profiles can be chosen by installing dconf-editor and editing the value in org/gnome/desktop/peripherals/mouse/acceleration-profile. GNOME manages mouse acceleration by itself.There is currently no standard way to change settings across compositors. It is the compositor's job to expose the settings brought by libinput. If you are using Wayland, the events are controlled via libinput.and configuration interfaces common in desktop environments.xorg-xset and xorg-xinput which provide xset and xinput respectively.On Xorg, there are several ways of setting mouse acceleration.
Setting the mouse acceleration depends on the windowing protocol you are using: either Xorg or Wayland. Each subsection should explicitly state which driver is assumed. Reason: Configuration depends on the input driver, libinput can be used in Xorg.