美文网首页Ubuntu
ubuntu设置鼠标速度

ubuntu设置鼠标速度

作者: char_jianjian | 来源:发表于2021-01-22 18:20 被阅读0次

[toc]

问题来源

更换的4k显示器后,鼠标速度变的非常慢。

尝试xset等命令均无效,如下方法完美解决问题。

直接在设置界面设置鼠标速度,范围有限

解决方法

首先查看所有设备

命令行输入

xinput --list

打印信息如下

yjf@chardonnay:~$ xinput --list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® Classic IntelliMouse®    id=9    [slave  pointer  (2)]
⎜   ↳ SONiX USB DEVICE                          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)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ SONiX USB DEVICE                          id=10   [slave  keyboard (3)]
    ↳ SONiX USB DEVICE                          id=12   [slave  keyboard (3)]

可见,我鼠标的id是9

查看鼠标信息

命令行输入

 xinput --list-props 9

打印信息如下

yjf@chardonnay:~$ xinput --list-props 9
Device 'Microsoft Microsoft® Classic IntelliMouse®':
    Device Enabled (155):   1
    Coordinate Transformation Matrix (157): 1.00000, 0.000000, 0.000000, 0.000000, 1.00000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (291):   0
    libinput Natural Scrolling Enabled Default (292):   0
    libinput Scroll Methods Available (293):    0, 0, 1
    libinput Scroll Method Enabled (294):   0, 0, 0
    libinput Scroll Method Enabled Default (295):   0, 0, 0
    libinput Button Scrolling Button (296): 2
    libinput Button Scrolling Button Default (297): 2
    libinput Middle Emulation Enabled (298):    0
    libinput Middle Emulation Enabled Default (299):    0
    libinput Accel Speed (300): 1.000000
    libinput Accel Speed Default (301): 0.000000
    libinput Accel Profiles Available (302):    1, 1
    libinput Accel Profile Enabled (303):   1, 0
    libinput Accel Profile Enabled Default (304):   1, 0
    libinput Left Handed Enabled (305): 0
    libinput Left Handed Enabled Default (306): 0
    libinput Send Events Modes Available (276): 1, 0
    libinput Send Events Mode Enabled (277):    0, 0
    libinput Send Events Mode Enabled Default (278):    0, 0
    Device Node (279):  "/dev/input/event3"
    Device Product ID (280):    1118, 2083
    libinput Drag Lock Buttons (307):   <no items>
    libinput Horizontal Scroll Enabled (308):   1

修改矩阵

原来的矩阵是
\begin{bmatrix} 1&0&0 \\ 0&1&0\\ 0&0&1 \end{bmatrix}
将前两个1修改为1.5,速度就刚好OK啦

xinput --set-prop 9 157 1.5 0 0 0 1.5 0 0 0 1

ref

https://unix.stackexchange.com/questions/90572/how-can-i-set-mouse-sensitivity-not-just-mouse-acceleration

相关文章

  • ubuntu设置鼠标速度

    [toc] 问题来源 更换的4k显示器后,鼠标速度变的非常慢。 尝试xset等命令均无效,如下方法完美解决问题。 ...

  • ubuntu20.04安装imwheel实现鼠标滚轮调速

    ubuntu自带的设置里只有调鼠标速度的功能,没有调鼠标滚轮速度的功能,默认的鼠标滚轮有点慢,看文档还好,快速看网...

  • Ubuntu 16.04 设置鼠标移动速度

    本文学习自 http://www.linuxdiyf.com/linux/22336.html 刚安装好的 Ubu...

  • ubuntu16.04 设置鼠标滚轮速度

    你是不是因为鼠标滚轮速度太慢而困扰?是不是为不能在系统中设置而烦恼?鼠标滚轮速度太慢在浏览网页或者阅读代码时候简直...

  • Ubuntu imwheel使用鼠标侧键

    由于ubuntu原声的鼠标滚轮移动速度太慢,所以使用了imwheel来加快滚动速度。但是用了imwheel后发现鼠...

  • 一条命令轻松调节mac鼠标移动速度

    如何调节mac鼠标移动速度呢?通过系统偏好设置可以调节,这里小编为大家带来的是一条命令轻松调节mac鼠标移动速度,...

  • 一条命令轻松调节mac鼠标移动速度

    如何调节mac鼠标移动速度呢?通过系统偏好设置可以调节,这里小编为大家带来的是一条命令轻松调节mac鼠标移动速度,...

  • 调节MacBook鼠标移速

    打开终端输入以下命令可以查看当前鼠标的速度,一般设置里调到最快的话,就是 3 的速度。 然后输入以下命令可以设置鼠...

  • Ubuntu 设置鼠标灵敏度

    Ubuntu的默认鼠标设置太飘,可以使用以下命令自定义设置 xset -m 1 具体数值可以依据个人情况进行调整

  • Ubuntu设置鼠标灵敏度

    一直觉得Ubuntu下鼠标用的不太舒服,移动速度太快不适应。于是找到相关资料修改了下。 查看设备列表:xinput...

网友评论

    本文标题:ubuntu设置鼠标速度

    本文链接:https://www.haomeiwen.com/subject/palezktx.html