如何找到干扰 CTRL+F 的内容?

Ala*_*Dee 7 bash debugging gnome keyboard-shortcuts linux-mint

我正在使用带有 Cario-Dock 的 Gnome 运行 LinuxMint12,并且我有一个罗技 G15 键盘。我使用额外的键设置了一个 bash 脚本来获取活动窗口、调整其大小并将其移动到我的一个屏幕上的特定位置。但是使用几天后,当我重新启动计算机时,CTRL+F 快捷方式在 FireFox、chrome 或我尝试的任何其他程序中停止工作。很多事情在重新启动之间发生了变化,所以我什至不确定从哪里开始寻找。

起初它是从 Cairo-Dock 启动文件夹堆栈,所以我禁用了该快捷方式。现在它什么都不做。我已经浏览了配置编辑器->apps->metacity->global_keybinding,没有任何冲突。我还浏览了系统设置->键盘->快捷方式,发现那里没有冲突。我不知道还有什么地方可以看。

其他快捷方式确实可以运行,例如 netbeans 中的 CTRL+F6 来运行单元测试。

有没有办法找到可能会干扰我的 CTRL+F 快捷方式的内容?我还应该在哪里寻找可能的冲突?谢谢。

--update-- Rev 2:由于原始 xev 没有帮助,我将其删除。当我保持 xev 聚焦时,它会注册 CTRL+F

...
    KeyPress event, serial 32, synthetic NO, window 0x4400001,
        root 0x19f, subw 0x0, time 136672187, (1120,275), root:(1122,1415),
        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 32, synthetic NO, window 0x4400001,
        mode NotifyGrab, detail NotifyAncestor

    FocusIn event, serial 32, synthetic NO, window 0x4400001,
        mode NotifyUngrab, detail NotifyAncestor

    KeymapNotify event, serial 32, 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 32, synthetic NO, window 0x4400001,
        root 0x19f, subw 0x0, time 136672827, (1120,275), root:(1122,1415),
        state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False

    ClientMessage event, serial 32, synthetic YES, window 0x4400001,
        message_type 0x10a (WM_PROTOCOLS), format 32, message 0x108 (WM_DELETE_WINDOW)
Run Code Online (Sandbox Code Playgroud)

小智 6

我在 Linux Mint 13 上遇到了同样的问题,在 xev 上也有同样的输出,即被Control_l + f映射到Control_l.

我的解决方案:我记得我运行了 xbindkeys 来启用平板电脑上的一些奇特按钮。

通过运行 xbindkeys-config 并检查为 xbindkeys 定义的所有键映射,我发现了一个干扰CTRL-F.

删除有问题的映射并保存新设置后, CTRL-F再次工作并在 gedit、firefox、...中正确启动搜索对话框。