keyboard-shortcutskey-bindingsarchlinuxhotkeysautokey

set up a shortcut / keybinding under GNU/Linux with altGr key (but Autokey nor other methods reconize the key)


I need to do a simple shortcut and this problem is driving me crazy. Whenever I press AltGR+Backspace I would like to simulate a CTRL+LEFT(arrow).

The thing is that AutoKey doesn't get the AltGR input (and neither xbindkeys or other methods).

I tried to do it with xbindkeys but AltGr is seen as a "Mod5 + ISO_Level3_Shift" input and despite that I can't figure out how to do it, this doesn't work:

"xte 'keydown Control_L' 'keydown Left' 'keyup Control_L'"
    m:0x80 + c:22
    Mod5 + BackSpace 

Thanks in advance for any help!


Solution

  • I find a solution with xbindkeys, I needed to insert "+ Release" after the combination of keys, so:

    "xte 'keydown Control_L' 'key Left' 'keyup Control_L'"
        Mod5 + BackSpace + Release