Brad Sawatzky wrote:
I've got myself a Kensington ExpertMouse USB trackball. The thing has 6 "special" buttons (ie. intended for exe launching, etc) 4 regular buttons 1 wheel This gives me three usable regular buttons (ie. right, left, middle),and a working wheel. In 'xev' the remaining regular button generates a button3 event, and none of the special buttons register at all. The"Buttons" option doesn't seem to do much at all...
I am just extrapolating from my seven button mouse, but try something like: In /etc/X11/XF86Config-4: Section "InputDevice" [...] Option "Buttons" "12" Option "ZAxisMapping" "11 12" EndSection In ~/.xmodmap: pointer = 1 2 3 11 12 4 5 6 7 8 9 10Then you have to source ~/.xmodmap somewhere with the command 'xmodmap ~/.xmodmap'. I do this in my .bashrc, but this is more a kludge than anything.[I have the following in my .bashrc:
if [ "$TERM" == "xterm" ]; then xmodmap ~/.xmodmap-Pretzalz fi ]