I also have this problem on one machine only, other machines work fine. I've attached an X log in case its of any use.
I use both xmodmap and xinput to change settings, and both sets of changes are lost. It may be of interest to know that re-running xinput restores the desired settings, but re-running xmodmap does not.
The xinput line I use is: xinput set-button-map "Kingsis Peripherals Evoluent VerticalMouse 2" 1 2 2 4 5 6 7 3 8 The xmodmap lies are (from .xmodmap): keycode 133 = Pointer_Button1 keycode 134 = Pointer_Button2 keycode 66 = Pointer_Button3 When I first run xmodmap .xmodmap xev reports: ButtonPress event, serial 27, synthetic NO, window 0x2200001, root 0x15d, subw 0x2200002, time 68980670, (49,36), root:(217,230), state 0x0, button 1, same_screen YES EnterNotify event, serial 27, synthetic NO, window 0x2200001, root 0x15d, subw 0x0, time 68980670, (49,36), root:(217,230), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 256 KeymapNotify event, serial 27, synthetic NO, window 0x0, keys: 93 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ButtonRelease event, serial 27, synthetic NO, window 0x2200001, root 0x15d, subw 0x2200002, time 68980766, (49,36), root:(217,230), state 0x100, button 1, same_screen YES LeaveNotify event, serial 27, synthetic NO, window 0x2200001, root 0x15d, subw 0x0, time 68980766, (49,36), root:(217,230), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 0But after the settings have been lost, and I run xmodmap .xmodmap again I get:
KeyPress event, serial 27, synthetic NO, window 0x1800001, root 0x15d, subw 0x1800002, time 582323704, (47,48), root:(269,296),state 0x0, keycode 133 (keysym 0xfee9, Pointer_Button1), same_screen YES,
XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1800001, root 0x15d, subw 0x1800002, time 582323888, (47,48), root:(269,296),state 0x0, keycode 133 (keysym 0xfee9, Pointer_Button1), same_screen YES,
XLookupString gives 0 bytes: XFilterEvent returns: Falseand this does not work - i.e. pressing the buttons on the keyboard does not seem to give a mouse click...
Yours Joseph
Xorg.0.log.old
Description: application/trash