I want to find out best way to identify "what is this hotkey mapped to?".
It's pretty much Linux Xfce version of these questions:
- https://superuser.com/questions/999106/find-out-what-program-is-using-a-hotkey
- Find out what process registered a global hotkey? (Windows API)
I ask this question because following happened:
In VS Code, I should be able to comment out line by pressing Ctrl+/ (forward slash). However, comment out didn't happen. There are countless suspects:
Maybe hotkey is mapped to another function in VS Code due to an extension (plug-in).
Maybe hotkey is mapped to another application (e.g. clipboard manager) in layer of Xfce.
I want to avoid bottom-up check of all running applications.
There must be a "smart" way to identify my question: "what is Ctrl+/ mapped to?" in a top-down approach. This example was "Ctrl+/" but similar question can occur with any other hotkey.
In VS Code there is helpful developer tool "keyboard shortcuts troubleshooting" which returns the mapping of the hotkey I press. And also I can look at keybinding.json which is literally a comprehensive list of keybindings. So it's easy to troubleshoot within the layer of VS Code.
I clarify that I'm not asking "what does Ctrl+/ do in Linux".