super, merci pour “xev”, je pense que cela va me faire avancer.
pour le combo “CTRL+a”, xev me donne :
Résumé
KeyPress event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 1751796, (94,-11), root:(603,251),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 1751901, (94,-11), root:(603,251),
state 0x14, keycode 24 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (01) “”
XmbLookupString gives 1 bytes: (01) “”
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 1751935, (94,-11), root:(603,251),
state 0x14, keycode 24 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (01) “”
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 1752006, (94,-11), root:(603,251),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Ceci parait logique: deux touches pressées, 2 touches relâchées, avec une commande tenant sur 1 bytes
Par contre, pour le combo “CTRL+Z”, xev me donne :
Résumé
KeyPress event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 1783204, (94,-11), root:(603,251),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 38, synthetic NO, window 0x3200001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 38, synthetic NO, window 0x3200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 2 0 0 0 32 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
KeyRelease event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 1783525, (94,-11), root:(603,251),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Et là, je voit bien un problème (sans le comprendre) : 1 seule touche pressée, puis un “focusevent” à la place de la 2ème touche pressée.
enfin, avec un combo “CTRL+MAJ+Z” :
Résumé
KeyPress event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 2258606, (363,422), root:(875,673),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 2258642, (363,422), root:(875,673),
state 0x14, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 2258791, (363,422), root:(875,673),
state 0x15, keycode 25 (keysym 0x5a, Z), same_screen YES,
XLookupString gives 1 bytes: (1a) “”
XmbLookupString gives 1 bytes: (1a) “”
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 2258829, (363,422), root:(875,673),
state 0x15, keycode 25 (keysym 0x5a, Z), same_screen YES,
XLookupString gives 1 bytes: (1a) “”
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 2258899, (363,422), root:(875,673),
state 0x15, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3200001,
root 0xae, subw 0x0, time 2258901, (363,422), root:(875,673),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Là, il n’y a plus de problème.
Je vais lire le man en attendant une réponse. Merci !