Option "ButtonMapping" "1 2 9 4 5 6 7 8 9"
"xte 'keydown Control_L' 'keydown v' 'keyup Control_L' 'keyup v'"
b:6
"xte 'keydown Control_L' 'keydown c' 'keyup Control_L' 'keyup c'"
b:7
"xte 'key Down'"
b:8
"xte 'mouseclick 3'"
b:9
"xte 'key Return'"
b:10
"xte 'key Escape'"
b:11
"xte 'key F5'"
b:12
when I bind a random key to button 9, it works, but with mouseclick 3 bound it doesn't. When I manually run
xte 'mouseclick 3'
it works perfectly, but when I assign it to button 9 it doesn't seem to trigger.
xev or xbindkeys -k don't seem to recognise it when I press the newly-bound button 9. xev does notice, but it doesn't show what key was pressed for some reason:
LeaveNotify event, serial 40, synthetic NO, window 0x7000001,
root 0x1a3, subw 0x0, time 1851895, (55,172), root:(888,637),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 0
<normally, the keycode event would be here>
EnterNotify event, serial 40, synthetic NO, window 0x7000001,
root 0x1a3, subw 0x0, time 1853447, (55,172), root:(888,637),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 40, synthetic NO, window 0x0,
keys: 4294967203 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
Any ideas on why the right mouse button doesn't want to trigger?
]]>