The latter will not affect speed in a display manager. To make it permanent, edit Xorg configuration (see above) or add commands to xprofile. $ xinput -set-prop " mouse name" "Device Accel Constant Deceleration" 2 $ xinput list-props 9 Device ' mouse name':ĭevice Accel Constant Deceleration (241): 1.000000ĭevice Accel Adaptive Deceleration (243): 1.000000ĭevice Accel Velocity Scaling (244): 10.000000 Where mouse name is the name of your mouse given by xinput list.Įxample, changing the property of Constant Deceleration to 2: Where 9 is the ID of the device you wish to use. Get a list of available properties and their current values available for modification with You may also use the full name in commands if the ID is prone to changing. Some devices the use Logitech Unifying Recceiver share the same USB connection therefore, the mouse do not appear using lsusb Using xinputįirst, get a list of devices plugged in (ignore any virtual pointers): 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |