I'm running Emacs 24 on Arch Linux machine. I want to set the system keyboard layout key binding to be the same as Emacs's (
ctrl+\). While there is no problem to do so. When the layout is switched to Hebrew, (almost) none of the key binding work. The reason is that Emacs don't read the key stroke but rather what character is typed in.
My question is, is there a way to forward the
ctrl+\ stroke strieght to Emacs without letting the system handle it first? I guess that this should done via a script that check if Emacs is focused and if the keystroke is ctrl+. I don't know how to do this though.
The GUI is gnome3 from the repos