Use a wheel mouse in FreeBSD 5.3
Tested on FreeBSD 5.3
First install imwheel from /usr/ports/x11/imwheel
# cd /usr/ports/x11/imwheel
# make install clean
Start imwheel on boot, any method you prefer… I do,
in /usr/local/etc/rc.d/X.sh
#!/bin/sh
/usr/X11R6/bin/imwheel &
/usr/X11R6/bin/xdm &
Now edit your xorg.conf file
# vi /etc/x11/xorg.conf
Under:
Section “InputDevice”
Identifier “Mouse0″
add Option “ZAxisMapping” “4 5″
Disable 3 button mouse emulation in xorg.conf
comment out any
# Option “Emulate3Buttons”
# Option “Emulate3Timeout” “50″
Disable emulation in rc.conf
comment out
#mouse_flags=”-3″
Now restart X and you should be good to go.
|