This is an old thread but today I found a solution that works fine for me.
After you have configured your mouse (all buttons working) through
XF86config file, download and install a program called
imwheel.
Create a text file in your home and name it
.imwheelrc containing the following:
Code:
"(null)"
None, Left, Alt_L|Left
None, Right, Alt_L|Right
".*"
None, Left, Alt_L|Left
None, Right, Alt_L|Right
* In this forum another thread suggested:
Code:
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
but it didn't worked for me. You may try that instead of mine.
Then create a text file in your home and name it
.Xsession containing the following:
Code:
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -p -b "67"
/usr/bin/x-session-manager
to make changes work automatically when you start your window manager.
* If your buttons don't work you might have to change
"pointer = 1 2 3 6 7 4 5" to something else.