how to increase mouse movement speed in ubuntu 16.04 (2025)

6 Answers

Reset to default

16

  1. Run in terminal xinput --list --short and find your mouse id (for me id=12)

  2. Run in terminal xinput --list-props 12 (change 12 for the right id)

  3. Find the id for the property Device Accel Constant Deceleration (for me 262)
  4. Run in terminal xinput --set-prop 12 262 0.1 (change 12 and 262 for the correct id)

The last number (0.1) is the important value. The smaller the number the faster your cursor moves (default value is 1.0). Play around with the values till you find one that works for you and then add the command to the startup applications GUI.

Good luck

edited Jun 18, 2017 at 19:30

alazaro

10322 bronze badges

answered Jan 25, 2017 at 23:28

staadstaad

36122 silver badges1111 bronze badges

7

  • i get a weird message when i type in the last command. btw i entered th id of the touchpad since i am using touchpad. it's too long to paste the response here

    Karthikeyan Saravanabavan

    Commented Jan 26, 2017 at 16:52

  • @KarthikeyanSaravanabavan what is the essence of the message. Can you give me a link to the message (ex. Pastebin, Dropbox, Github)

    staad

    Commented Jan 26, 2017 at 21:17

  • drive.google.com/file/d/0Bx0H8TnBYDUhRThvU2dfcFhoX0U/… this link will help i guess

    Karthikeyan Saravanabavan

    Commented Jan 27, 2017 at 13:11

  • drive.google.com/file/d/0Bx0H8TnBYDUhRThvU2dfcFhoX0U/…

    Karthikeyan Saravanabavan

    Commented Jan 27, 2017 at 13:12

  • @KarthikeyanSaravanabava Sorry, my mistake. You have a syntax error, it should be xinput --set-prop not xinput --set-props. I have edited my answer

    staad

    Commented Jan 27, 2017 at 17:11

| Show 2 more comments

1

The first place to speed up your mouse is in Settings -> Mouse and Touchpad -> Pointer Speed.

If that maximum is not enough try this answer : How can I increase the mouse pointer speed beyond the limits set by the Mouse preferences dialog?

Basically, add the following command to Startup Application and change the second number (2 in this case) to the desired mouse speed (2X faster, 3X faster...).

xset m 2 1

Good luck

answered Jan 24, 2017 at 22:19

staadstaad

36122 silver badges1111 bronze badges

2

  • 1

    I tried doing this.. i even tried the xset m 5000 1.. it doesn't make any difference in my mouse speed

    Karthikeyan Saravanabavan

    Commented Jan 25, 2017 at 15:49

  • @KarthikeyanSaravanabavan please see second answer

    staad

    Commented Jan 25, 2017 at 23:28

Add a comment |

1

You can try using piper. It is available trough the Ubuntu repositories, so just install it via

sudo apt install piper

It has a GUI and it worked very well for my Logitech G402 on Ubuntu 20.04 to increase the mouse speed pretty much. You can change some settings for the buttons and even the LED are controllable.

answered Apr 21, 2021 at 10:02

StrawberryOwlStrawberryOwl

1111 silver badge66 bronze badges

1

  • Upvoting this as every other answer wasn't able to increase my mouse speed, but changing the DPI with piper instantly worked (plus the other features are neat).

    user2979044

    Commented Jan 24, 2022 at 21:28

Add a comment |

I found a way to fix it after an update from 16.04 to 18.04 (mouse became too slow after the update).

Like in this answer: https://askubuntu.com/a/876273/391744

but change instead just the acceleration profile from 0 to 2:

  1. Run in terminal xinput --list --short and find your mouse id (for me id=12)

  2. Run in terminal xinput --list-props 12 (change 12 for the right id)

  3. Find the id for the property Device Accel Profile (for me 267)

  4. Run in terminal xinput --set-prop 12 267 2 (change 12 and 267 for the correct id)

answered Jun 28, 2018 at 6:50

VelkanVelkan

3,65144 gold badges2626 silver badges5151 bronze badges

1

  • The acceleration doesn't go above 1.0 on my system. To speed up my high dpi mouse I had to alter the transformation matrix as described here: unix.stackexchange.com/a/177640

    joe

    Commented Oct 1, 2019 at 9:22

Add a comment |

For a GUI tool try typing this into your Terminal:

dconf-editor

For (Ubuntu-Mate-18.04.02) I use the Default of (-1) for both. My settings are here:-

/org/mate/desktop/peripherals/mouse/motion-acceleration/org/mate/desktop/peripherals/mouse/motion-threshold

edited May 12, 2019 at 23:21

tinlyx

3,30066 gold badges3535 silver badges5454 bronze badges

answered May 12, 2019 at 20:01

Ubuntu Mate UserUbuntu Mate User

1

Add a comment |

None of the above worked for me. I found a solution here:

  1. Find your device id using xinput --list --short
  2. Find Coordinate Transformation Matrix property id using xinput --list-props {device-id}
  3. Increase the speed (2x in this case) using: xinput --set-prop {device-id} {property-id} 2 0 0 0 2 0 0 0 1 (replace 2 with 1.5 if it's too fast).

answered Jun 16, 2023 at 21:15

Amir KarimiAmir Karimi

37733 silver badges1717 bronze badges

Add a comment |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged

  • 16.04
  • mouse

.

how to increase mouse movement speed in ubuntu 16.04 (2025)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6572

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.