When using the adaptive pointer acceleration profile, libinput calculates the mouse acceleration depending on the DPI and the parameter Acceleration Speed.Īlternatively, gnome-tweaks can also be used to edit the org/gnome/desktop/peripherals/mouse/acceleration-profile. Libinput relies on the resolution reported by evdev. Feedback settings set with xset m are effectively ignored. When using the flat pointer acceleration profile, the acceleration factor is constant regardless of the velocity of the pointer. 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. Note that the acceleration speed has to be in the range of. $ xinput -set-prop 'libinput Accel Speed' Check this plot to see the impact of different acceleration speed values. Libinput does not store configuration options, it is up to the caller to manage these. Under Wayland configuration is restored by the desktop environment. 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. # 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. $ 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. 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. Where acceleration defines how many times faster the cursor will move than the default speed. threshold is the velocity required for acceleration to become effective, usually measured in device units per 10ms. acceleration can be a fraction, so if you want to slow down the mouse you can use 1/2, 1/3, 1/4. if you want to make it faster you can use 2/1, 3/1, 4/1. Threshold defines the point at which acceleration should occur in pixels per 10 ms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |