Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Is there anyway to reduce the mouse sensitivity in Ubuntu 12.04?

I've used the slider on the systems settings to set it to the lowest point but it's still too fast.

share|improve this question
You should be able to change Option "Sensitivity" for your pointing device in xorg.conf or a configuration file in /usr/share/X11/xorg.conf.d (or create one). See this forum topic and this Xorg.conf documentation. It should be possible for someone to put together the information in this comment, to produce an actual answer to this question (but I feel this is not by itself good enough to be an answer). – Eliah Kagan May 10 '12 at 18:59
@EliahKagan For me, fiddling with this forced me into console on reboot. The answer below worked fine though. – Sparhawk Apr 24 '13 at 23:34
up vote 22 down vote accepted
  1. looking for mouse device id or name
  2. $ xinput --list
    ⎡ Virtual core pointer                      id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ A4Tech USB Full Speed                     id=10   [slave  pointer  (2)]
    ⎜   ↳ A4Tech USB Full Speed                     id=11   [slave  pointer  (2)]
    ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        ↳ Power Button                              id=6    [slave  keyboard (3)]
        ↳ Power Button                              id=7    [slave  keyboard (3)]
        ↳ CHESEN USB Keyboard                       id=8    [slave  keyboard (3)]
        ↳ CHESEN USB Keyboard                       id=9    [slave  keyboard (3)]
  3. setting mouse sensivity
  4. $ xinput --set-prop 10 "Device Accel Constant Deceleration" 4
    don't know why there are two same names so have choosen id by random. and it worked out.
  5. telling system to do this after logging in
  6. create script:
    xinput --set-prop 10 "Device Accel Constant Deceleration" 4
    xinput --set-prop 10 "Device Accel Velocity Scaling" 1
    then run command:
    $ gnome-session-properties
    and add the script to the list.
    don't forget about chmod +x.

information was found here and here.

share|improve this answer
Very detailed. Thanks. – csilk Nov 21 '12 at 22:25

Why did no body mention xset?

It's very easy to set mouse acceleration and threshold with xset

To reduce mouse acceleration

 xset m 1 1

To increase the speed of mouse

 xset m 10 1

The m option controls the mouse parameters; it may be abbreviated to 'm'. The parameters for the mouse are acceleration' andthreshold'. The acceleration can be specified as an integer, or as a simple fraction. The mouse, or whatever pointer the machine is connected to, will go acceleration' times as fast when it travels more thanthreshold' pixels in a short time. This way, the mouse can be used for precise alignment when it is moved slowly, yet it can be set to travel across the screen in a flick of the wrist when desired. One or both parameters for the m option can be omitted, but if only one is given, it will be interpreted as the acceleration. If no parameters or the flag 'default' is used, the system defaults will be set. If the threshold' parameter is provided and 0, theacceleration' parameter will be used in the exponent of a more natural and continuous formula, giving precise control for slow motion but big reach for fast motion, and a progressive transition for motions in between. Recommended `acceleration' value in this case is 3/2 to 2, but not limited to that range.

share|improve this answer

in terminal type


then paste your config in

xinput --set-prop 12 "Device Accel Constant Deceleration" 5

quit and save

then do

chmod +x 

then in gnome-session-properties put the file in.

then you're done.

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.