hid-apple
-
Keyboard layout
-
fnmode
- Mode of fn key on Apple keyboards
0
= disabled1
= fkeyslast2
= fkeysfirst3
(default) = auto- iso_layout
- Swap the backtick/tilde and greater-than/less-than keys
-1
(default) = auto0
= disabled1
= enabled- swap_opt_cmd
- Swap the Option ("Alt") and Command ("Flag") keys
0
(default) = as-is, Mac layout1
= swapped, Windows layout2
= swapped, Swap only left side- swap_ctrl_cmd
- Swap the Control ("Ctrl") and Command ("Flag") keys
0
(default) = No change1
= Swapped- swap_fn_leftctrl
- Swap the Fn and left Control keys
0
(default) = as-is, Mac layout1
= swapped, PC layout
# /etc/modprobe.d/hid-apple.conf
options hid_apple swap_opt_cmd=1 swap_fn_leftctrl=1