I'm trying to do that too! I put this in XF86Config: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" #Option "AlwaysCore" "true" #Option "SendCoreEvents" "true" #Option "HistorySize" "30" #Option "SendDragEvents" "true" Option "Buttons" "7" Option "Resolution" "200" Option "ZAxisMapping" "6 7" #X, Y, N1 N2 EndSection
And the mouse works fine except the two extra buttons. So I tried this in my .xsession xmodmap -e "pointer = 1 2 3 6 7 4 5" But when I tried to login with kdm it kicked me out! Does somebody know why?