Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    Testing now on Debian wheezy with Xorg 1.12.4, xdotool key XF86LogGrabInfo triggers only two entries in the X log: “Printing all currently active device grabs:” immediately followed by “End list of active device grabs”. Yet my window manager does grab a bunch of keys. Have you seen this work for grabbed keys? Commented Nov 16, 2014 at 23:15
  • 4
    @Gilles - no, you won't get any output if you run it like that... try running it with sleep 2; xdotool key "XF86LogGrabInfo" and immediately start pressing a key (e.g. the "Win" key) very fast, then you'll see some output in Xorg.log. Or use xdotool to press keys + XF86LogGrabInfo at the same time, like here Commented Nov 25, 2014 at 0:58
  • @don_crissti Ah, I see, XF86LogGrabInfo only prints information about a key that is currently pressed? That limits its usefulness. I want to list all the grabs — all the passive grabs, if I understand the terminology correctly. Commented Nov 25, 2014 at 10:13
  • There's probably some clever way of combining this with a scripted exhaustive search of key combinations, hopefully without a virtual keyboard. Certainly outside my knowledge. Commented Jan 16, 2015 at 17:18
  • Thanks! This helped me discover that xfsettingsd was stealing my Win + L shortcut. Commented May 13, 2015 at 6:52