Add 'Keychron K2 configuration'
parent
26c51b479d
commit
cf51396e25
1 changed files with 19 additions and 0 deletions
19
Keychron-K2-configuration.md
Normal file
19
Keychron-K2-configuration.md
Normal file
|
@ -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]].
|
Loading…
Reference in a new issue