diff --git a/Keychron-K2-configuration.md b/Keychron-K2-configuration.md new file mode 100644 index 0000000..da089e0 --- /dev/null +++ b/Keychron-K2-configuration.md @@ -0,0 +1,19 @@ +# Keychron K2 configuration on Linux + +## Function keys do not work + +To make the change permanent, [[Kernel_modules#Setting_module_options|set]] the `hid_apple` `fnmode` option to 2: + +#### `/etc/modprobe.d/hid_apple.conf` + options hid_apple fnmode=2 + +## Switching Cmd and Alt/AltGr + +This will switch the left `Alt` and `Cmd` key as well as the right `Alt`/`AltGr` and `Cmd` key. + +Permanent change, taking place at next reboot: + +#### `/etc/modprobe.d/hid_apple.conf` + options hid_apple swap_opt_cmd=1 + +You then need to [[regenerate the initramfs]].