修改/etc/X11/xorg.conf即可
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
#加入下面四行,就可以激活方便的中键滚动条功能
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
EndSection
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
#加入下面四行,就可以激活方便的中键滚动条功能
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
EndSection