This will show you how to completely disable mouse acceleration and set a much slower or faster mouse speed then what is available with gnome-mouse-properties in Ubuntu 10.10 Maverick. By default Ubuntu enables mouse acceleration even with Acceleration and Sensitivity turn all the way down in Mouse Preferences there will still be some acceleration.
First type the command below which will list the all the input devices you should see your mouse in the list and the device ID next to the name of the device.
administrator@Desktop:~$ xinput list
Then enter the command below replace the number with the ID of your mouse that was in the list above. This will list the available properties for the mouse. You should see “Device Accel Profile” and “Device Accel Adaptive Deceleration” these are the properties that control the mouse acceleration and mouse speed.
administrator@Desktop:~$ xinput list-props
Then create a file in your home folder and add the lines below. Change the name below to the name of your mouse from the list above. If you want to completely disable mouse acceleration set “Device Accel Profile” to -1 like it is below then set “Device Accel Constant Deceleration” to the speed you want your mouse at. For more information on the device properties refer to the X.Org PointerAcceleration documentation.
administrator@Desktop:~$ nano ~/.mousespeed xinput set-prop ‘Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)’ ‘Device Accel Profile’ -1 xinput set-prop ‘Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)’ ‘Device Accel Constant Deceleration’ 2
To apply the mouse settings run the command below. Every time you disconnect the mouse and reconnect it the settings will need to be re-applied. To apply the settings when the computer restarts open “System -> Preferences -> Startup Applications” and click add set “Name” to “Mousespeed” and “Command” to “sh /home/USER/.mousespeed” replace “USER” with your username.
administrator@Desktop:~$ sh ~/.mousespeed