[分享]啟動Microsoft IntelliMouse Explorer的拇指紐功
發表於 : 週六 7月 23, 2005 11:45 pm
1.修改XF86Config-4或xorg.conf的mouse部份。
~~~~~~~~
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "6 7"
EndSection
~~~~~~~~
2.安裝『imwheel』程式。
http://imwheel.sourceforge.net/
3.修改/etc/X11/imwheel/imwheelrc成
~~~~~~~
".*"
None,Thumb1,Alt_L|Left
None,Thumb2,Alt_L|Right
"(null)"
None,Thumb1,Alt_L|Left
None,Thumb2,Alt_L|Right
~~~~~~~
4.修改家目錄的.xinitrc,加入:
~~~~~~~
xmodmap -e "pointer = 1 2 3 6 7 4 5"
BINARY=$(which imwheel)
$BINARY -k -p -b "000067"
~~~~~~~
我已經成功在FireFox跟Nautilus下使用上一頁、下一頁的功能。
~~~~~~~~
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "6 7"
EndSection
~~~~~~~~
2.安裝『imwheel』程式。
http://imwheel.sourceforge.net/
3.修改/etc/X11/imwheel/imwheelrc成
~~~~~~~
".*"
None,Thumb1,Alt_L|Left
None,Thumb2,Alt_L|Right
"(null)"
None,Thumb1,Alt_L|Left
None,Thumb2,Alt_L|Right
~~~~~~~
4.修改家目錄的.xinitrc,加入:
~~~~~~~
xmodmap -e "pointer = 1 2 3 6 7 4 5"
BINARY=$(which imwheel)
$BINARY -k -p -b "000067"
~~~~~~~
我已經成功在FireFox跟Nautilus下使用上一頁、下一頁的功能。