Ubuntu – Disable Mouse Acceleration and Increase Mouse Sensitivity

17.10mouse

I'm using Xubuntu 17.10.

I'm trying to get rid of the mouse acceleration and I achieved that by doing the following steps:

sudo nano /usr/share/X11/xorg.conf.d/50-mouse-acceleration.conf

And in this file, paste the following:

Section "InputClass"
    Identifier "My Mouse"
    MatchIsPointer "yes"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
    Option "AccelSpeed" "-1"
EndSection

As a result, the mouse acceleration is disabled. Despite the mouse sensitivity being 30 in the settings, it's terribly slow. Does anyone know a different way on how to deactivate mouse acceleration(without killing the mouse speed to such a degree), or a way to increase the mouse sensitivity over its limit? (I have tried some ways for Ubuntu but none seemed to work)

Best Answer

I use xinput to control mouse speed (I have a SteelSeries Rival 310 mouse):

$ xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ SteelSeries SteelSeries Rival 310 eSports Mouse   id=12   [slave  pointer  (2)]

Note the id=12. Now issue this command to list all the possible attributes that You can manipulate for the mouse:

$ xinput --list-props 12
Device 'SteelSeries SteelSeries Rival 310 eSports Mouse':
Device Enabled (152):   1
Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Accel Speed (292): -0.700000
libinput Accel Speed Default (293): 0.000000
libinput Accel Profiles Available (294):    1, 1
libinput Accel Profile Enabled (295):   1, 0
libinput Accel Profile Enabled Default (296):   1, 0
libinput Natural Scrolling Enabled (288):   0
libinput Natural Scrolling Enabled Default (289):   0
libinput Send Events Modes Available (273): 1, 0
libinput Send Events Mode Enabled (274):    0, 0
libinput Send Events Mode Enabled Default (275):    0, 0
libinput Left Handed Enabled (297): 0
libinput Left Handed Enabled Default (298): 0
libinput Scroll Methods Available (299):    0, 0, 1
libinput Scroll Method Enabled (300):   0, 0, 0
libinput Scroll Method Enabled Default (301):   0, 0, 0
libinput Button Scrolling Button (302): 2
libinput Button Scrolling Button Default (303): 2
libinput Middle Emulation Enabled (304):    0
libinput Middle Emulation Enabled Default (305):    0
Device Node (276):  "/dev/input/event3"
Device Product ID (277):    4152, 5920
libinput Drag Lock Buttons (290):   <no items>
libinput Horizontal Scroll Enabled (291):   1

Note the libinput Accel Speed (292): -0.700000. This is the attribute You will want to change. Set new value like this:

$ xinput --set-prop 12 "libinput Accel Speed" -0.7

Try different values to find the best one that works for You.

Related Question