My mouse has mouse acceleration and is too fast in ubuntu 18.04.
Creating 90-mouse.conf in xorg.conf.d doesn't work.
And when gnome will switch from xorg to wayland, these xorg.conf files wont work anymore.
Is there another way to disable mouse acceleration in ubuntu?

Ubuntu uses gnome and gnome uses dconf(a "database" full of settings).

How to:

  • Install dconf-editor
    • sudo apt install dconf-editor via terminal or
    • search for Dconf Editor in Ubuntu Software
  • Open the dconf-editor and go to org -> gnome -> desktop -> peripherals -> mouse

Here are the mouse settings.

  • accel-profile -> sets what kind of acceleration you want to have
  • speed -> sets the mouse speed

You have these options in accel-profile:

  • default
  • flat aka. disable mouse acceleration
  • adaptive

To disable mouse acceleration:

  • set Use default value to off
  • set Custom value to flat

To change the mouse speed:

  • go to org/gnome/desktop/peripherals/mouse/speed
  • set Use default value to off
  • change the Custom value to the number that works for you
    (the number can be between -1 and 1)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.