Skip to main content

Thread: Xbindkeys and mouse button 10


hi everyone,

hoping out there can issue in ubuntu 11.10 running gnome3-shell. here synopsis.

bought logitech m705 mouse , want thumb button (b:10) act super key. have following line in .xbindkeysrc.

#activities button
"xte 'key super_l'"
b:10

doesn't seem work. if run xte command in terminal, works fine. when xbindkeys not running xev sees b:10 without problems. when xbindkeys running, xev sees following when b:10 pressed:

leavenotify event, serial 34, synthetic no, window 0x3400001,
root 0x14f, subw 0x0, time 13177611, (161,149), root164,264),
mode notifygrab, detail notifyancestor, same_screen yes,
focus yes, state 0

focusout event, serial 34, synthetic no, window 0x3400001,
mode notifygrab, detail notifyancestor

focusin event, serial 34, synthetic no, window 0x3400001,
mode notifyungrab, detail notifyancestor

keymapnotify event, serial 34, synthetic no, window 0x0,
keys: 79 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

enternotify event, serial 34, synthetic no, window 0x3400001,
root 0x14f, subw 0x0, time 13179915, (161,149), root164,264),
mode notifyungrab, detail notifyancestor, same_screen yes,
focus yes, state 0

ideas causing this? buttons 8 & 9 function workspace , down following commands.

# workspace up
"xte 'keydown control_l' 'keydown alt_l' 'key up' 'keyup control_l' 'keyup alt_l'"
b:9

# workspace down
"xte 'keydown control_l' 'keydown alt_l' 'key down' 'keyup control_l' 'keyup alt_l'"
b:8

chris

also having same trouble.

having 1 of side buttons open activities screen in gnome3

current .xbindkeysrc simple:
code:
"xte 'key super_l'" b:8
like crscoles said, xte 'key super_l' works in termial. have verified xev using correct mouse button. if modify .xbindkeysrc to:
code:
"xte 'key backspace'" b:8
then works; side button acts backspace. so, know should work!

here's output of xbindkeys -v
code:
$ xbindkeys -v displayname = :0 rc file = /home/myhome/.xbindkeysrc rc guile file = /home/myhome/.xbindkeysrc.scm getting rc guile file /home/myhome/.xbindkeysrc.scm. warning : /home/myhome/.xbindkeysrc.scm not found or reading not allowed. 1 keys in /home/myhome/.xbindkeysrc  min_keycode=8     max_keycode=255 (ie: know keycodes) "xte 'key super_l'"     m:0x0 + b:8   (mouse) starting loop... button press ! e.xbutton.button=8 e.xbutton.state=16 "xte 'key super_l'"     m:0x0 + b:8   (mouse) got screen 0 window 15a start program fork+exec call button release ! e.xbutton.button=8 e.xbutton.state=16
i read somewhere there may issue super key passing through. if can shed light on this, though, appreciated!

edit: woring ubuntu 10.04 alpha 2 x64, gnome 3.3.90, kernel 3.2.0-17, xbindkeys 1.8.5, xte v1.03


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Xbindkeys and mouse button 10


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account