The way to set it is in terminal not xset m
.
First, use xinput --list --short
and write down your mouse ID. Mine is (8). Save it.
Next, in the terminal, type:
xinput --list-props yourMouseId
Press enter and find the Device Accel Constant Deceleration #
. Mine is (270). Write it down, behind your mouses ID.
Now, in the terminal, type:
xinput --set-prop 8 270 7
If this is too slow, retype the command but lower the last #. Try 6 or 5 or 4 and down till you got the speed you like.
One last thing: If your mouse is too slow, try going into the settings of mouse and touchpad and use the speed slider there to your liking.
In case you want a fix for now, you can use this steps:
- Open a terminal
- Run the command:
xinput --list --short
and note the name of your device.
Set the constant deceleration for the device:
xinput --set-prop "Razer DeathAdder" "Device Accel Constant Deceleration" 5
That's it. You might have to play around with the value, 5 is good for me.
To see the current settings for the device:
xinput --list-props "Razer DeathAdder"
To turn off mouse acceleration:
xinput --set-prop "Razer DeathAdder" "Device Accel Velocity Scaling" 1
To perform the tuning automatically, create a script, run chmod +x
on it and add it to start up applications list:
#!/bin/sh
xinput --set-prop "Razer DeathAdder" "Device Accel Constant Deceleration" 5
xinput --set-prop "Razer DeathAdder" "Device Accel Velocity Scaling" 1`
as described in:
http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/
and
How to change mouse speed/sensitivity?
Best Answer
You can install the unofficial driver logiops for Logitech mice and keyboard from github and increase the DPI settings in addition to the system mousespeed setting.
The following worked for my MX Master 2S with Ubuntu 18.04 and enabled me to use my thumb button, smartshift scrolling and individual dpi settings. However I think this might also work on later Ubuntu version or other Ubuntu-based OSes.
1. to clone repo from github execute (maybe you need to install git first). then navigate to that folder:
2. Follow build instructions from repo. This step needs build-essentials:
3. To create a system deamon which runs the driver in the background follow the instructions from here
/etc/systemd/system/logid.service
with the content4. You may want to configure the driver via the file
/etc/logif.cfg
. The following worked for my MX Master 2S. Other configs can be found on github or in the Archwiki. Here you can change the dpi manually in addition to adjusting the system mouse-speed setting.5. Finally enable the service to run on system startup and start the service: