在linux环境下,编写shell脚本,命名为:“Mouse_wheel.sh”打开后粘贴以下内容到里面,保存推出(ps,最好另外保存到别的地方)
#!/bin/bash
# for thinkpad trackpoint, middle key scroll screenxinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Timeout" 200
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Axes" 6 7 4 5
之后设置开机加载此脚本即可