安装
sudo apt install imwheel
配置
nano ~/.imwheelrc
".*"
None, Up, Button4, 4
None, Down, Button5, 4
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L, Up, Shift_L|Button4
Shift_L, Down, Shift_L|Button5
运行
imwheel
重新运行
imwheel kill
看到提示就成功了。
添加到启动项避免每次开机都要手动运行