2010-11-03 22:32:09 |
Jakob |
description |
Binary package hint: xbindkeys
On Ubuntu Maverick (10.10) I installed xbindkeys (1.8.3-1) and xautmation (1.03-1).
I want xbindkeys to do "xte 'keydown Super_L' 'key a' 'keyup Super_L'" when I press button 10 at my mouse. But it doesn't work always, only 1 or 2 times by clicking 10 times... (In the terminal "xte..." works properly.)
Using "xev" reacts always when I press the button. And xbindkeys doesn't work much better by taking another button. So it can't be the mouse.
jod@maverick:~$ xbindkeys -v
displayName = :0.0
rc file = /home/jod/.xbindkeysrc
rc guile file = /home/jod/.xbindkeysrc.scm
getting rc guile file /home/jod/.xbindkeysrc.scm.
WARNING : /home/jod/.xbindkeysrc.scm not found or reading not allowed.
1 keys in /home/jod/.xbindkeysrc
min_keycode=8 max_keycode=255 (ie: know keycodes)
"xte 'keydown Super_L' 'key a' 'keyup Super_L'"
m:0x0 + b:10 (mouse)
starting loop...
Button press !
e.xbutton.button=10
e.xbutton.state=16
"xte 'keydown Super_L' 'key a' 'keyup Super_L'"
m:0x0 + b:10 (mouse)
got screen 0 for window 1ad
Start program with fork+exec call
Button release !
e.xbutton.button=10
e.xbutton.state=16
Thanks for any help! |
Binary package hint: xbindkeys
On Ubuntu Maverick (10.10) I installed xbindkeys (1.8.3-1) and xautmation (1.03-1).
I want xbindkeys to do "xte 'keydown Super_L' 'key a' 'keyup Super_L'" when I press button 10 at my mouse. But it doesn't work always, only 1 or 2 times by clicking 10 times... (In the terminal "xte..." works properly.) It seems to work more often when I press very fast.
Using "xev" reacts always when I press the button. And xbindkeys doesn't work much better by taking another button. So it can't be the mouse.
jod@maverick:~$ xbindkeys -v
displayName = :0.0
rc file = /home/jod/.xbindkeysrc
rc guile file = /home/jod/.xbindkeysrc.scm
getting rc guile file /home/jod/.xbindkeysrc.scm.
WARNING : /home/jod/.xbindkeysrc.scm not found or reading not allowed.
1 keys in /home/jod/.xbindkeysrc
min_keycode=8 max_keycode=255 (ie: know keycodes)
"xte 'keydown Super_L' 'key a' 'keyup Super_L'"
m:0x0 + b:10 (mouse)
starting loop...
Button press !
e.xbutton.button=10
e.xbutton.state=16
"xte 'keydown Super_L' 'key a' 'keyup Super_L'"
m:0x0 + b:10 (mouse)
got screen 0 for window 1ad
Start program with fork+exec call
Button release !
e.xbutton.button=10
e.xbutton.state=16
Thanks for any help! |
|