Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default fn #21

Open
bjlockie opened this issue Apr 7, 2022 · 3 comments
Open

default fn #21

bjlockie opened this issue Apr 7, 2022 · 3 comments

Comments

@bjlockie
Copy link

bjlockie commented Apr 7, 2022

I can press the "fn" key and then f1...
The default is the f1... keys to default to the media keys.
Is there a way to swap the default so the fn key is not needed for f1... and it is required to get the media keys?

@bjlockie
Copy link
Author

Solved:

https://schnouki.net/post/2019/how-to-use-a-keychron-k2-usb-keyboard-on-linux/?fbclid=IwAR1b5pVpPndukZmjZ9k1Z2xWd16kXBCuqfnxD0l6cp3X-UQUQtd5paVFLHU

  • use the keyboard in Mac mode (so that it sends useful keycodes instead of Windows-specific shortcuts)
  • configure the Linux hid_apple driver to use function keys and swap “Option” and “Command” by creating /etc/modprobe.d/hid_apple.conf with the following content:

For Keychron keyboard -- https://wiki.archlinux.org/index.php/Apple_Keyboard

options hid_apple fnmode=2 swap_opt_cmd=1

@busycalibrating
Copy link

Nice, I was stuck on this for a while until I swapped it to Mac mode. Thanks 😃

@busycalibrating
Copy link

I think this breaks the screenshot key 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants