AltGr 키를 누를 때 중복 Ctrl_L 이벤트를 제거하는 방법은 무엇입니까?

AltGr 키를 누를 때 중복 Ctrl_L 이벤트를 제거하는 방법은 무엇입니까?

Citrix를 통해 Windows 컴퓨터에 원격 Linux 시스템에 로그인한 다음 다른 원격 데스크톱 솔루션을 통해 Linux 컴퓨터에 로그인했습니다. 안타깝게도 Citrix 부분에 버그가 있어서 독일어 키보드에서 Alt-Gr을 누르면 시스템이 추가 키 이벤트를 수신하여 해석이 엉망이 됩니다. 마지막으로 Alt-Gr과의 조합은 작동하지 않습니다(대부분의 경우). Alt-Gr 키만 누르면 xev다음과 같습니다.

KeyPress event, serial 38, synthetic NO, window 0x2600001,
    root 0xf3, subw 0x2600002, time 678212244, (37,36), root:(84,104),
    state 0x0, 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 0x2600001,
    root 0xf3, subw 0x2600002, time 678212253, (37,36), root:(84,104),
    state 0x4, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x2600001,
    root 0xf3, subw 0x2600002, time 678212340, (37,36), root:(84,104),
    state 0x84, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x2600001,
    root 0xf3, subw 0x2600002, time 678212351, (37,36), root:(84,104),
    state 0x80, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Control_L있어서는 안 되는 추가 콘텐츠를 참고하세요.아니요이 중간 Citrix(원격 데스크톱 전용 솔루션)는 작동하며 다음과 같습니다.

KeyPress event, serial 38, synthetic NO, window 0x2600001,
    root 0xf3, subw 0x2600002, time 679278220, (37,44), root:(84,112),
    state 0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x2600001,
    root 0xf3, subw 0x2600002, time 679278313, (37,44), root:(84,112),
    state 0x80, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

좋은 결과.

현재 Citrix를 중간에 쉽게 고칠 수 있는 방법은 없습니다.

Control_L첫 번째 케이스에서 추가 항목을 잊도록 강제하는 (또는 자동 릴리스로 만드는) 해킹을 알고 계십니까 ?

시스템이 나를 ISO_Level3_Shift로 인식하면 state 0x0작동할 수도 있습니다.

관련 정보