Debianで多ボタンマウスの利用方


マウスの情報が書いてあるところに
Handlers=mouse0 event1 ts0
とある。

#vi /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2" #たぶんここを変更
Option "Emulate3Buttons" "true"
EndSection


で、出てきた窓上でボタンを押してみると、state 0x*** button **とかでてくるので、それぞれm:0x*** + b:**のように書く。

"xvkbd -xsendevent -text "\Cc""
m:0x10 + b:8
"xvkbd -xsendevent -text "\Cv""
m:0x10 + b:9"

設定反映するには

これでコピーとペーストができるようになったはず。