Let's say I have two programs: Program A and Program B. I want to use some hotkey to trigger certain action in Program A. So, I add corresponding lines in xbindkeysrc
(telling the daemon what to do and what the hotkey is). It works just fine with Program A. The problem is that the same hotkey is used in Program B to do something as well (which I am totally happy with). But Program B does not trigger that action anymore because xbindkeys
intercepts the hotkey now.
Is it possible make xbindkeys
to intercept hotkeys for certain programs only or should I take a look at another tool (if so, which one)?
xbindkeys-config
can help here for it does not extendxbindkeys
functionality in any way, it is just a GUI. The problem isxbindkeys
intercepts the hotkey as soon as it has been added toxbindkeysrc
. So the Program B in my example simply has no chance to catch the hotkey pressing event. As for AHK it is an absolutely marvellous piece software that runs in Windows (and I do use it there to achieve similar goals), is it? And we are talking about Linux in this case... – S. N. Jan 16 '23 at 13:50