Created
July 30, 2019 14:17
-
-
Save antonpenev/88f91631f0e4d06ed304bd88a230157f to your computer and use it in GitHub Desktop.
Keychron K2 keyboard - Ubuntu fix media keys switch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Keychron is used like Apple keyboard in ubuntu: | |
# Reference: https://help.ubuntu.com/community/AppleKeyboard | |
# | |
# 0 = disabled : Disable the 'fn' key. Pressing 'fn'+'F8' will behave like you only press 'F8' | |
# 1 = fkeyslast : Function keys are used as last key. Pressing 'F8' key will act as a special key. Pressing 'fn'+'F8' will behave like a F8. | |
# 2 = fkeysfirst : Function keys are used as first key. Pressing 'F8' key will behave like a F8. Pressing 'fn'+'F8' will act as special key (play/pause). | |
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment