I have used search .. again . .and again . .and again. Everything either is for 3 button mouse or doesn't work.
FC 3
My mouse is a Defender 5 button mouse. Wheel is 3rd and there are two side buttons under the thumb and pinkie.. Those buttons are the source of this problem.
The only thing I have yet to try is imwheel but I'm hoping I won't have to use that. Anyway.
I have messed about with the xorg.conf and xinitrc files alot. I'm not sure why it doesn't work, but here is the review.
I got all of the buttons working .. but wrong. (Right would be mouse wheel to scroll up and down & the right and left buttons ( the extra buttons ) going back and forward in Firefox - being the thing I want it to work on)
The functions of the mouse wheel scrolling and extra buttons are messed up. Mouse wheel up (or down not sure) is back in history and mouse wheel down (or up) is forward in history and to my surprise the side buttons handled scrolling.
So when I went to xorg.conf and changed the ZButtonMapping or whatever that thing is .. the mouse wheel worked .. but the side buttons .. eeeeeh .. nothing.
xmodmap -e "pointer = 1 2 3 6 7 4 5" to the end of xinitrc did nothing .( edited it to be 1 2 3 4 5 6 7 but still nothing )
help ?
(These current configuration files give me scrolling with wheel but no going forward/back in history.)
xinitrc :
Code:
if [ -f $HOME/.Xclients ]; then
exec $DBUS_LAUNCH $HOME/.Xclients || \
exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
exec $DBUS_LAUNCH /etc/X11/xinit/Xclients || \
exec /etc/X11/xinit/Xclients
else
# failsafe settings. Although we should never get here
# (we provide fallbacks in Xclients as well) it can't hurt.
xclock -geometry 100x100-5+5 &
xterm -geometry 80x50-50+150 &
if [ -x /usr/X11R6/bin/twm ]; then
exec /usr/X11R6/bin/twm
fi
fi
# KRISTJAN custom mouse button remap
xmodmap -e "pointer = 1 2 3 6 7 4 5"
xorg.conf (the important part) :
Code:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection