Emacs: bind smth to Alt key right

I want to tie Right- Altto function toggle-input-method and Left- Altto Meta. But Emacs identifies both keys Altas Meta. How can I get Emacs to distinguish between buttons Alt?

os: ubuntu

+3
source share
1 answer

Assuming you are using GNOME, you can check what your Alt key behavior is in the SystemPreferencesKeyboardLayouttab → OptionAlt\Win key behaviorand do some tests if there is an option that suits you.

- xkeycaps - xmodmap, X - , Meta Left/Right Alt.

+1

All Articles