作者:刘遥行
链接:https://www.zhihu.com/question/22076117/answer/279881256
来源:知乎
【Step1】打开Terminal
sudo apt-get install imwheel
【Step2】在根目录下新建文件 .imwheelrc(运行这条命令的位置没有要求,随便在哪里都可以)
gedit ~/.imwheelrc
【Step3】复制以下设置内容到文件中,保存
".*"
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就是你需要设置的值,越大,速度越快
- 后面是一些额外快捷键映射,自行选择保留
【Step4】Terminal输入
imwheel kill
启动程序,显示『imwheel started』说明成功运行
【Step6】这个程序是在运行时才改变鼠标滚动速度,如果你想开机自动运行,请按照下面步骤操作
Dash(Window键出来的搜索框)输入【启动应用程序】(英文版 Startup application)
打开程序,点击【添加】,名称随意,命令填入 imwheel
(如果没有内容的话)
以上,恭喜你和龟速滚轮说拜拜了