Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As explained in the other answers, the following command will work temporarily:

echo 2 > /sys/module/hid_apple/parameters/fnmode

However, to get this to become permanent (at least on Fedora 21), I had to create a persistent module as explained in the Fedora docs.

First, open a terminal as root, then cd into the /etc/sysconfig/modules/ directory. Then create a new module with:

touch fn_keys_fix.modules

The .modules ending on the filename is necessary here.

Open the file in your favorite editor, for example, nano;

nano fn_keys_fix.modules

And enter the following:

echo 2 > /sys/module/hid_apple/parameters/fnmode

Save the file, and then make it executable:

chmod +x fn_keys_fix.modules

At the next reboot, your F-keys should be used as F-keys.

Note: I did not have success using echo "options hid_apple fnmode=2" > /etc/modprobe.d/50-hid_apple.conf as hinted at above (I don't think that this alone will actually do anything at boot, you'd have to use dracut).