seteuid0's blog
Themed by Diary.
fedora19系统t430s使用小红帽

执行以下命令,或者放入开机启动的脚本中即可:set -euid=$(xinput list | sed -n ‘/TPPS/2 IBM TrackPoint/s/.*id=([0-9]+).*/1/p’)emu=$(xinput list-props “$id” |     sed -n ‘/Evdev Wheel Emulation (/s/.*(([0-9]+)).*/1/p’)but=$(xinput list-props “$id” |     sed -n ‘/Evdev Wheel Emulation Button (/s/.*(([0-9]+)).*/1/p’)axs=$(xinput list-props “$id” |     sed -n ‘/Evdev Wheel Emulation Axes (/s/.*(([0-9]+)).*/1/p’)xinput set-int-prop “$id” “$emu” 8 1xinput set-int-prop “$id” “$but” 8 2不同的型号可能值不同,可以通过工具gpointing-device-settings设置。