Skip to content

Instantly share code, notes, and snippets.

@tgunr
Created November 18, 2019 17:18
Show Gist options
  • Save tgunr/c1ffb0ff11d174a2b6bafe5964253a42 to your computer and use it in GitHub Desktop.
Save tgunr/c1ffb0ff11d174a2b6bafe5964253a42 to your computer and use it in GitHub Desktop.
Function key behaviour is set in: /sys/module/hid_apple/parameters/fnmode
The following are valid tokens:
Quote:
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).
You require 2 to use the function keys as desired. First try this from the command line (as root):
Code:
echo 2 > /sys/module/hid_apple/parameters/fnmode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment