From cf51396e2530f13aeca7635c140d6431801cea45 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sun, 13 Mar 2022 13:59:05 +0100 Subject: [PATCH] Add 'Keychron K2 configuration' --- Keychron-K2-configuration.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Keychron-K2-configuration.md 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]].