Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am on an Asus Zenbook UX32VD in Ubuntu 12.10. Both in 12.04 and 12.10 I haven't been able to change the mouse speed (i.e. the "sensitivity" in the mouse/touchpad dialog). I can change the slider, but nothing changes.

This is a big problem for me, since the mouse speed is somewhat slow. Any suggestions?

The problem is both for the touchpad and mouse.

share|improve this question
I dont have this laptop - so hence this comment. Maybe this Q&A can help -… . If you type synclient you have some parameters such as MinSpeed, MaxSpeed & AccelFactor that you can play with. Good luck. – fossfreedom Oct 29 '12 at 9:35
I have installed LXInput from Softwarecenter. It's for LXDE but works also unter Unity. Anja – user279152 May 7 '14 at 20:13
up vote 40 down vote accepted

Open a terminal and run this command:

xinput --list --short


abcd@abcd-abcde:~$ xinput --list --short

Virtual core pointer

↳ SynPS/2 Synaptics TouchPad                id=11   [slave  pointer  (2)]

↳ Logitech USB RECEIVER                     id=12   [slave  pointer  (2)]

My pointing devices are a Logitech USB RECEIVER and a Synaptics TouchPad. To list out device properties:

xinput --list-props "SynPS/2 Synaptics TouchPad"


Another option: xinput --list-props 11 as 11 is the number that is shown above in its parent property (SynPS/2 Synaptic TouchPad).

Now reduce it's property values to suit your need:

Device Accel Constant Deceleration (267):   2.500000

using this command:

xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 1.5


Another option: xinput --set-prop 11 267 1.5 11 is the device, just like from above, 267 is the id of the device property (Device Accel Constant Decleration) as you can see when device 11 is being listed all of properties being attached, and finally 1.5 is your desired speed.

You may have to play around with this number a bit to set it exactly as you need.

If you need to set this value automatically every time Ubuntu starts then:

create a .sh file


xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 1.5

change the file to executable :

chmod +x

and Put this in the start-up applications list.

Source : Configuring Mouse Speed manually

share|improve this answer
I'm guessing you mean to put xinput --set-prop in the script, right? Anyway, it works :) Thanks! – Felix Oct 30 '12 at 12:07
you are welcome :) – Vikash Singh Oct 30 '12 at 15:56
I now have the same problem for my wireless logitech mouse with unified reciever. I can change the speed in the same way, but max speed (1) is way too slow! Any suggestions? – Felix Nov 20 '12 at 12:11
Try increasing the acceleration property. <"Device Accel Velocity Scaling" 5> . I also have a Logitech wireless mouse and i can't see any direct speed property. all i got is acceleration and deceleration. Please tell what speed property your device is showing and also try to increase the value of speed beyond 1 and see if that works.. – Vikash Singh Nov 21 '12 at 4:35
Thank you very much. My computer is now much more usable. – Jack Satriano Sep 26 '13 at 18:04

Ubuntu 12.10 64-bit, Logitech cordless TrackMan

xinput did nothing for me.

xset q

to check settings

xset mouse 3 0

This sets the acceleration to 3 and the threshold to zero. This sets the acceleration to 3 and the threshold to zero. Not great settings but better than before.

If you want to use fractional value, you can enter fraction (i.e. 3/2) instead of floating point number.

The man page says the settings will be lost on logout/reboot.

share|improve this answer
If you want to use fractional value, you can enter fraction (i.e. 3/2) instead of floating point number. It's weird, but it works. – R Burny Sep 2 '13 at 1:16

I used the 'simple' profile to increase the mouse resolution without acceleration.


device="Dell Dell USB Optical Mouse"
resolution_percent="241" # Greater than 100, use constant deceleration otherwise with profile -1. 

xinput set-prop "$device" "Device Accel Profile" 4 # Simple profile with threshold 0 allows constant scaling up
xinput set-ptr-feedback "$device" 0 "$resolution_percent" 100 # Set threshold to 0 and acceleration to $resolution_percent/100

You'll have to modify the script by using your particular device name. You can look that up by running xinput without arguments. Also the script has to be run each time the mouse is connected or when you start the system.

share|improve this answer

You can use these scripts to set the touchpad and mouse speed each systemstart:

TP=$(xinput --list --short|grep -i touchpad|cut -f 1 | cut -d" " -f 5-|sed 's/\s\+$//g')
xinput --set-prop "$TP" "Device Accel Constant Deceleration" 1.5
xinput --set-prop "$TP" "Device Accel Velocity Scaling" 10

For me, I think 1.5 and 10 are suitable values for the touchpad.

I use a Logitech usb mouse too.
So for a Logitech mouse use this script:

MOUSE=$(xinput --list --short|grep -i Logitech| cut -f 1|cut -d" " -f 5-|sed 's/\s\+$//g')
xinput --set-prop "$MOUSE" "Device Accel Constant Deceleration" 1.2
xinput --set-prop "$MOUSE" "Device Accel Velocity Scaling" 10

For me, I think 1.2 and 10 are suitable values for the mouse.

I created a project on Github:

share|improve this answer

I've fine-tuned deceleration by closing my eyes, before moving pointer to a certain place on the screen. After 5 adjustments, now my mouse moves that much as I'm expecting.

That's the line I'm using right now:

xinput --set-prop "Bluetooth Mouse M557" "Device Accel Constant Deceleration" 2.3

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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