Mouse Acceleration

I am trying to change the mouse acceleration for my laptop trackpad. Using the command

xinput --set-prop 15 330 0.55

does what i want, but it resets after rebooting, so i tried creating a .conf file in the /etc/X11/xorg.conf.d directory following the arch wiki entry on mouse acceleration.

The content of 50-mouse-acceleration.conf is:

Section “InputClass”
Identifier “Touchpad”
MatchIsTouchpad “on”
Driver “libinput”
Option “AccelSpeed” “0.55”
EndSection

But after rebooting the mouse acceleration is reset back to the default.

Just in case you are using KDE Plasma as DE, open Manjaro Settings Manager, Hardware, Input Devices, Mouse and save your preferred setting there. These settings should survive a reboot.

I am using GNOME DE, thanks anyway.

gnome-tweak-tools has “acceleration profiles” on the “Keyboard & Mouse” tab.

Here’s mine of the reference:

[mbb@mbb-laptop ~]$ cat /etc/X11/xorg.conf.d/01-TackPoint-MousePad.conf 
# Configuração do TrackPoint

Section "InputClass"
  Identifier "mouse"
  MatchProduct "PS/2 Generic Mouse"
  Driver "libinput"
  # Option "Device"   "/dev/input/event17"
  Option "AccelProfile" "flat"
  Option "AccelSpeed" "1" 
  Option "HorizontalScrolling" "true" 
  Option "MiddleEmulation" "false" 
  Option "NaturalScrolling" "false"
  Option "ScrollButton" "3"  
  Option "ScrollMethod" "button" 
  Option "SendEventsMode" "enabled"
EndSection


# Configuração do MousePad

Section "InputClass"
  Identifier "touchpad"
  MatchProduct "SynPS/2 Synaptics TouchPad"
  Driver "libinput"
  # Option "Device"   "/dev/input/event18"
  Option "AccelSpeed" "0.9"
  Option "HorizontalScrolling" "true"
  Option "MiddleEmulation" "false"
  Option "NaturalScrolling" "false"
  Option "ScrollMethod" "twofinger"
  Option "SendEventsMode" "enabled"
  Option "Tapping" "false"
  Option "DisableWhileTyping" "true"  
EndSection

You can get the MatchProduct through xinput