Keychron K1 SE function keys not working on Linux
The function keys on Linux do not work by default on a Keychron K1 SE. Fixing that is thankfully rather easy.
As a owner of a Keychron K1 SE keyboard with hot swappable low profile brown Gateron switches and RGB backlight, it’s rather critical that it works on both Windows and Linux. The keyboard is recognized as an Apple keyboard on Linux, just like many other keyboards. The Arch Linux wiki and Ubuntu wiki have dedicated pages for this. The TLDR to fix the functions keys not working is as follows:
- Create a modprobe configuration file
$ sudo touch /etc/modprobe.d/hid_apple.conf
- Edit the file and add the following content
options hid_apple fnmode=2
- Regenerate the initramfs, which differs per distro. On Arch that would be
$ sudo mkinitcpio -P
or on Debian based
$ sudo update-initramfs -u
Reboot and make sure the keyboard is set to Windows/Android mode (physical switch on the back).