Então você esperaria que o primeiro e o segundo caractere substituíssem o texto selecionado, certo?
O que xev
imprime?
(Execute-o a partir de um terminal, mova o mouse sobre a janela, depois pressione Deslocamento Esquerda Esquerda a b )
Para mim, isso acontece.
Pressionando e mantendo pressionado Ctrl , em seguida, Shift ...
KeyPress event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143718968, (47,65), root:(48,147),
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 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143719024, (47,65), root:(48,147),
state 0x14, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
então Esquerda , Esquerda ...
KeyPress event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143720176, (47,65), root:(48,147),
state 0x15, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143720280, (47,65), root:(48,147),
state 0x15, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143720952, (47,65), root:(48,147),
state 0x15, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143721040, (47,65), root:(48,147),
state 0x15, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
em seguida, soltando as teclas Ctrl e Shift ...
KeyRelease event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143723304, (47,65), root:(48,147),
state 0x15, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143723304, (47,65), root:(48,147),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
pressionando a , b
KeyPress event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143724576, (47,65), root:(48,147),
state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (61) "a"
XmbLookupString gives 1 bytes: (61) "a"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143724672, (47,65), root:(48,147),
state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (61) "a"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143725048, (47,65), root:(48,147),
state 0x10, keycode 57 (keysym 0x62, b), same_screen YES,
XLookupString gives 1 bytes: (62) "b"
XmbLookupString gives 1 bytes: (62) "b"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x4c00001,
root 0x109, subw 0x4c00002, time 143725136, (47,65), root:(48,147),
state 0x10, keycode 57 (keysym 0x62, b), same_screen YES,
XLookupString gives 1 bytes: (62) "b"
XFilterEvent returns: False
Eu olharia especialmente nos últimos dois blocos, ou seja, quando liberando Ctrl e Shift e depois pressionando a b para ver se existem diferenças.
Outros pensamentos:
- você tem as Sticky Keys?
- você tem Ctrl + Shift definido para alterar o layout ou a linguagem do teclado?