

This is the closest thing the Mac offers to the Windows Alt key. On North American Mac keyboards, a key on the bottom row is labeled both Alt and Option.

Here’s your cheat sheet to the menu keyboard symbols: represents the Shift key, means the Option key, and refers to the Control key.Īlt key. Unfortunately, they’re represented in the menu with goofy symbols instead of their true key names. This option is specially good because the command key can be used as AltGr, which helps you type special characters like áéíóúñ, which is not possible with the alternative fixes.Mac keyboard shortcuts are listed at the right side of each open menu, just as in Windows. Then remember to call update-initramfs -k -all (or dracut -regenerate-all -force in Fedora) so the parameters get loaded when the module gets loaded on boot, or they will be ignored. Once you are comfortable with the configuration, you can make them permanent.Ĭreate a file like this /etc/modprobe.d/hid_nf and add your parameters like this: options hid_apple fnmode=2 swap_opt_cmd=1 First check the existing parameters with modinfo hid_apple and then modify them on the fly: echo 2 > /sys/module/hid_apple/parameters/fnmodeĮcho 1 > /sys/module/hid_apple/parameters/swap_opt_cmdĮcho 1 > /sys/module/hid_apple/parameters/swap_fn_leftctrl To play around with the parameters you can change them live. (I don't know if this is required, but I did it.)Īnother solution which does NOT involve Xmodmap, nor depends on gnome-tweaks is to instruct the module to swap them. The extra key on many European keyboards:

Xmodmap doesn't work universally in all apps, gnome tweak tool lacked the function, dconf editing a custom altwin2 key swap (like the main answer here) failed, so I was tearing my hair out until I combined several answers into this complete, simple, and elegant solution: gksudo gedit /usr/share/X11/xkb/symbols/pcĬhange it to: default partial alphanumeric_keys modifier_keys In 16.04, here's the way I finally got this to work. Duplicate of How to swap Command and Control keys with xkb step by step?
