the maximum available speed for mouse is not very comfortable. i want to increase it.. how to do that?? is there an app to customize these sort of stuffs (preferable since I am new to ubuntu). thanks in advance
-
Are you using a touchpad or a mouse? – You'reAGitForNotUsingGit Jan 24 '17 at 21:19
-
This solved it for me: https://unix.stackexchange.com/a/177640 – joe Oct 01 '19 at 09:21
6 Answers
Run in terminal
xinput --list --short
and find your mouse id (for meid=12
)Run in terminal
xinput --list-props 12
(change12
for the right id)- Find the id for the property
Device Accel Constant Deceleration
(for me 262) - Run in terminal
xinput --set-prop 12 262 0.1
(change12
and262
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
-
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 Jan 26 '17 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 Jan 26 '17 at 21:17
-
https://drive.google.com/file/d/0Bx0H8TnBYDUhRThvU2dfcFhoX0U/view?usp=sharing
this link will help i guess
– Karthikeyan Saravanabavan Jan 27 '17 at 13:11 -
https://drive.google.com/file/d/0Bx0H8TnBYDUhRThvU2dfcFhoX0U/view?usp=sharing – Karthikeyan Saravanabavan Jan 27 '17 at 13:12
-
@KarthikeyanSaravanabava Sorry, my mistake. You have a syntax error, it should be
xinput --set-prop
notxinput --set-props
. I have edited my answer – staad Jan 27 '17 at 17:11 -
it works. thanks. and how to add this command to the startup applications? can you help me in that also? – Karthikeyan Saravanabavan Jan 28 '17 at 09:58
-
@KarthikeyanSaravanabavan There is an application called
Startup Applications
. You can open it by searching in the dash (top left button). Once you open startup applications, simply pressAdd
. In the command field add your command. Also give it a name in the name field. PressAdd
thenclose
. Done!. You can also take a look at the beginning of this answer. There are a bunch of tutorials all over the Internet. Try figuring it out on your own next time before asking for help on stack overflow. – staad Jan 29 '17 at 11:49
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.
-
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 Jan 24 '22 at 21:28
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

- 361
-
1I tried doing this.. i even tried the xset m 5000 1.. it doesn't make any difference in my mouse speed – Karthikeyan Saravanabavan Jan 25 '17 at 15:49
-
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
:
Run in terminal
xinput --list --short
and find your mouse id (for meid=12
)Run in terminal
xinput --list-props 12
(change12
for the right id)Find the id for the property
Device Accel Profile
(for me267
)Run in terminal
xinput --set-prop 12 267 2
(change12
and267
for the correct id)

- 3,616
-
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: https://unix.stackexchange.com/a/177640 – joe Oct 01 '19 at 09:22
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

- 3,230
None of the above worked for me. I found a solution here:
- Find your device id using
xinput --list --short
- Find
Coordinate Transformation Matrix
property id usingxinput --list-props {device-id}
- 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).

- 375
- 3
- 17