I'm trying to use xbindkeys with an event that is produced with mode_switch + <key>, but xbindkeys is triggered with only the <key> instead of the combination of it with the mode_switch.
I'm using xmodmap to map the mode_switch to right alt:
keycode 108 = Mode_switch Mode_switch Mode_switch Mode_switch
When xbindkeys process is not running, I can see the expected events with xev, for the <key> alone and for the combination of mode_switch + <key>.
But when xbindkeys is running, it is triggering the code attached to it on the <key> alone, instead of the combination, which overrides what the key does originally.
For example, if I bind Pointer_Button5 to the letter n with:
keysym n = n N Pointer_Button5
without xbindkeys I can see n alone and Pointer_Button5 when using mode_switch + n in xev, but with xbindkeys running, I can no longer use the n key, it instead is triggering the script attached to it.
It seems to be the same for other keys and events as well, not only Pointer_Button5 or the letter n.