Ubuntu18.04 更改鼠标滚轮速度

1.安装imwheel

sudo apt-get install imwheel

2.更改配置

sudo gedit ~/.imwheelrc

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

第二三行中"5"表示滚轮速度,默认是“3”,推荐“5”

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

gnome-session-properties

4.配置开启自启项

imwheel --kill --buttons "4 5"

Ubuntu18.04 更改鼠标滚轮速度