Linuxのマウスの設定

/etc/X11/xorg.conf

"InputDevice"のキーボードの下あたりに下記を書き足す。


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "9"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
Option "ButtonMapping" "1 2 3 6 7 8 9 4 5"
EndSection

"ServerLayout"のキーボードの下あたりに下記を書き足す。


Section "ServerLayout"
InputDevice "synaptics mouse" "CorePointer"
InputDevice "Mouse0" "Always Core"