belda |
12-11-2007 01:52 PM |
NO GO!
Im using ubuntu 7.10. Before doing this I had to
Code:
sudo apt-get install xbindkeys xvkbd
The xbindkeys part seems to work, I tried to replace the xvkbd command with another command, but it still is not sending the Alt_L keycode (according to xev, there are now even no Button presses/releases). Not mapped buttons do good, but these now do nothing
Code:
ConfigureNotify event, serial 30, synthetic YES, window 0x3a00001,
event 0x3a00001, window 0x3a00001, (1077,816), width 178, height 178,
border_width 2, above 0x10007b7, override NO
ButtonPress event, serial 30, synthetic NO, window 0x3a00001,
root 0x52, subw 0x0, time 3401669569, (24,83), root:(1103,901),
state 0x10, button 1, same_screen YES
ConfigureNotify event, serial 30, synthetic YES, window 0x3a00001,
event 0x3a00001, window 0x3a00001, (1077,816), width 178, height 178,
border_width 2, above 0x10007b7, override NO
ButtonRelease event, serial 30, synthetic NO, window 0x3a00001,
root 0x52, subw 0x0, time 3401669687, (24,83), root:(1103,901),
state 0x110, button 1, same_screen YES
LeaveNotify event, serial 30, synthetic NO, window 0x3a00001,
root 0x52, subw 0x0, time 3401675888, (24,83), root:(1103,901),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 16
EnterNotify event, serial 30, synthetic NO, window 0x3a00001,
root 0x52, subw 0x0, time 3401675992, (24,83), root:(1103,901),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 16
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 82 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
When I typed it to console directly I get
Code:
belda@vrsek:~$ /usr/bin/xvkbd -xsendevent -text "\[Control_L]"
xvkbd: Mode_switch not available as a modifier
xvkbd: although ISO_Level3_Shift is used instead, AltGr may not work correctly
I am also using compiz-fusion, but I doubt, it is causing this.
It seems to me, that xvkbd can only send whole text at once and can not send the press event and than the release event
|