How to enable meta key?

There are all sorts of meta-something shortcuts in PyCharm, but neither the 'alt' or 'windows' key on my keyboard seems to be 'meta'.

How can I make 'alt' on my keyboard act as the 'meta' key?
0
9 comments
Avatar
Permanently deleted user
Please change your keymap to default for XWin in File->Settings->Keymap. You will have Windows buttons in your shortcuts after that.
You could change any shortcut there as well.
0
Avatar
Permanently deleted user
That just changes the key mappings. My problem is that I want to have key mappings that are 'meta'-some character –> some command, but no key on my keyboard appears to be generating the 'meta' key.
0
Avatar
Permanently deleted user
Which operating system do you use?
0
Avatar
Permanently deleted user
Ubuntu 12.04 with Gnome 2 (gnome-fallback).
0
Avatar
Permanently deleted user
Please try to change your system settings:  System -> Preferences -> Keyboard -> Layout -> Options -> Alt/Win key behavior. Choose there "Meta is mapped to left Win".
Please tell whether it helps.
0
Avatar
Permanently deleted user
That worked!

Is there any way to have meta on alt instead of win? I tried "alt and meta are on alt keys", to no avail.
0
Avatar
Permanently deleted user
If you run PyCharm in a Gnome terminal it may be capturing your Alt key to open the GUI menu (File, Edit, ...). You can change this behaviour by selecting Edit -> Keyboard Shortcuts and unchecking "Enable menu access keys ...".
0
Avatar
Permanently deleted user

Do you have similar option in Ubuntu 18.04?

0
Avatar
Permanently deleted user

@PZwolin Search for the Tweaks!

0

Please sign in to leave a comment.