Ubuntu更改鼠标灵敏度

需要命令:xinput

清自行用 man xinput 查询 xinput 帮助文档

1、插入鼠标,打开终端,输入命令:xinput 查询当前已挂在设备

2、拔出鼠标,打开终端,再输入命令:xinput 查询当前已挂在设备,发现缺少的设备即使你使用的鼠标

3、输入命令:xinput --set-prop "pointer:2.4G Mouse" "Device Accel Constant Deceleration" 1.7

   注:"pointer:2.4G Mouse"是你鼠标的名称,或者使用 id 指定鼠标,如:xinput --set-prop 16 "Device Accel Constant Deceleration" 1.7

    这里的 id16,根据自己的情况自行修改。(推荐使用 id 来指定鼠标)

    最后的 1.7 就是设置的鼠标灵敏度,请根据所需要灵敏度自行输入。

Set the property to the given value(s).  If not specified, the format and type of the  property               are left as-is.  The arguments are interpreted according to the property type.

本人是软件工程专业的在校大学本科生,喜欢编程的小伙伴可以加我QQ一起探讨,QQ:312805939
原文地址:https://www.cnblogs.com/wangchaowei/p/5998877.html