
To test settings temporarily (settings will be reset after a reboot): echo 2 | sudo tee -a /sys/module/applespi/parameters/fnmode # If this returns "hid_apple", you are using hid_apple Whichever does will tell you which driver you are currently using: # If this returns "applespi", you are using applespi
Use f keys on mac keyboard how to#
You can also change your driver settings to make this change permanent, like so: echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_nfįor anyone stumbling upon this thread using one of the newer MacBook Pros (2016 and later) which need the applespi driver to make the keyboard and touchpad work, here's how to make this work, as I couldn't find any other thread explaining this for newer Macs.Īs far as I understand, the driver effectively replaces the role of the hid_apple module, so the files to edit are slightly different.įirst, to verify that you are using the applespi driver and not the hid_apple driver, check which of these commands (using the terminal) returns something.

You can stick it in your login shell's RC file or into cron so that you don't have to worry about it. Note that this also works for me on Fedora.Īs several people have commented, this change is temporary. 'fn'+'F8' will act as special key (play/pause). Pressing 'F8' key will act as a special key. 1 = fkeyslast : Function keys are used as.

There seems to be some confusion regarding what the difference between the two values might be. I.e.: echo 2 > /sys/module/hid_apple/parameters/fnmode You need to add 0 or 2 into /sys/module/hid_apple/parameters/fnmode.
