Linux:什么窃取了我的按键组合?

Tro*_*vin 5 linux keyboard-shortcuts

Fedora Linux 28:有东西正在窃取某些组合键。当我访问http://en.key-test.ru/时,我可以激活 CTRL-SHIFT-ALT-q (和 CTRL-SHIFT-ALT + 大多数其他键),但不能激活 CTRL-SHIFT-ALT-d

我在 Firefox 和 Chrome 中都尝试过。Gnome、Gnome Classic 和 KDE 中都存在该问题。

我检查了键盘快捷键,没有为 CTRL-SHIFT-ALT d 定义快捷键。我可以暂时让 CTRL-SHIFT-ALT-d 激活应用程序;因此击键会进入桌面的某些部分。

当我运行 xev 时,按 CTRL-SHIFT-ALT-d 会看到以下内容:

KeyPress event, serial 34, synthetic NO, window 0x3200001,
    root 0x2ac, subw 0x3200002, time 2322960, (53,48), root:(1015,177),
    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 37, synthetic NO, window 0x3200001,
    root 0x2ac, subw 0x3200002, time 2326560, (53,48), root:(1015,177),
    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 37, synthetic NO, window 0x3200001,
    root 0x2ac, subw 0x3200002, time 2328408, (53,48), root:(1015,177),
    state 0x15, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 37, synthetic NO, window 0x3200001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x3200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  4294967212 0   0   0   32  0   4   0   1   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
Run Code Online (Sandbox Code Playgroud)

如果我运行 CTRL-SHIFT-ALT-q,我看不到 FocusOut/FocusIn/KeymapNotify 事件。

我如何找出什么正在窃取/修改我的按键?

我的一个同事在使用 Ubuntu 时也看到了同样的现象。我无法在 CentOS 7.5 中重现该问题。

Tro*_*vin 5

请参阅dirkt 的提示,结果非常有用:

我不知道有什么比一个接一个地杀死 X 客户端更好的方法了,可能使用xlsclients等来指导你,并测试它们何时不再被盗。

使用xlsclients -la,我找到了 X 应用程序的列表,包括那些在后台运行的应用程序。我开始杀掉他们;一些进程终止导致我的 Gnome 会话崩溃,但我最终发现关闭进程skypeforlinux使CTRL+ ALT+ SHIFT+D对我有用。

事实证明,在 Skype 中,如果按CTRL+ ALT+ SHIFT+则会出现一个额外的“调试”菜单项D。似乎无法在 Skype 中禁用此行为。