Ubuntu 10.04 has stolen my mouse button mapping - grrrrr!!!!
Chris G
cl at isbd.net
Sat Aug 21 21:54:30 UTC 2010
I spent quite a while getting my mouse buttons mapped the way I want
them in Ubuntu 9.10. I just upgraded to 10.04 and while just about
everything else went smoothly it's stolen my mouse button!
I have a logitech trackball with four buttons, these appear to X as
buttons 1, 2, 8 and 9. So, to start with, I have xmodmap remap the
buttons as follows:-
pointer = 1 8 3 4 5 6 7 2 9 10
This means I get the left hand 'small' button as button 2 (the
'middle' button). Thus I have button 1 is 'left', button 2 (the left
hand small button) is 'middle' button for pasting, and button 3 is
'right'. So far so good, this still works in 10.04.
However in 9.10 I had the second (right-hand) little button set up so
that it did a button1 double click. This was done by using xbindkeys
and a .xbindkeysrc file as follows:-
"/usr/bin/xte 'mouseup 9' 'mouseclick 1' 'mouseclick 1' &"
b:9
It worked perfectly in Ubuntu 9.10 but doesn't work at all in 10.04.
I've tried regressing the to 9.10 versions of xte and xbindkeys but it
still doesn't work. I think there must be some 'clever' addition in
10.04 that's mapping mouse buttons to 'useful' functions and
overriding my setup - gggrrr!!!
Can anyone suggest what may be wrong and/or what's stealing my mouse
button?
--
Chris Green
More information about the ubuntu-users
mailing list