What is Meta Key for Ubuntu on Mac?
I have Ubuntu installed on Mac. What is the Meta Key on Mac keyboard?
Solution 1:
On my Macbook Pro (el capitan), the meta key is by default mapped to the ESC key.
For example, say in emacs editor, to do a M-%
(emacs find and replace), I would do ESC+%
(I've tested this on iTerm2 and Terminal app.)
This Stackoverflow forum helped me.
Solution 2:
You can check in System -> Preferences -> Keyboard -> Layout -> Options ->Alt/Win key behavior if you are running a GUI, but it is probably defaulted to the option key on a Mac.
If you prefer command line, you can use xev
to check what each key is mapped to.