[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to change mouse acceleration and threshold in Stretch

On Thu, 3 Aug 2017, Илья Валеев wrote:
> I'm unable to change mouse acceleration and threshold in Stretch.
> It does not depend on DE. There are no error appears. For example, in
> KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
> and contain properly values, but mouse behavior does not changes.
> 'xset m 3 1' also does not change anything.
> It does not depend on:
> - Stretch 9.0 or Stretch 9.1
> - is it clean install or not
> - mouse
> - is it virtual machine with Jessie host or real system

(Responding late because of vacation.) Starting with Stretch, mouse
acceleration is controlled by libinput.  It was mentioned in the Release
Notes BTW.  Here is a clear explanation of its possibilities:
See 'man libinput' for the available options.

In short, you create the file /etc/X11/xorg.conf.d/10-libinput.conf,
containing something like this:

Section "InputClass"
  Identifier "mouse"
  Driver "libinput"
  Option "AccelProfile" "flat"
  Option "AccelSpeed" "-0.5"

Mouse acceleration is set with 'Option "AccelSpeed"'.
Its value ranges from -1 to 1. Negative means slower.

Reply to: