Ubuntu 更改鼠标滚轮速度

1.安装imwheel

sudo apt-get install imwheel

2.更改配置

sudo gedit ~/.imwheelrc

输入以下内容:

".*"
None,      Up,   Button4, 3
None,      Down, Button5, 3
Control_L, Up,   Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L,   Up,   Shift_L|Button4
Shift_L,   Down, Shift_L|Button5

第二三行中"3"表示滚轮速度,默认是“3”.根据实际情况调整,我在虚拟机里用的是2.

3.打开开机自启应用管理

gnome-session-properties

4.配置开启自启项

点击添加,名称:imwheel,命令:

imwheel --kill --buttons "4 5"

 

 

原文地址:https://www.cnblogs.com/runliuv/p/15702693.html