Customize F keys to work without having to press Fn+F keys

By default you need to press fn+F key instead of just pressing the F key.

Enable the F keys to editing /etc/modprobe.d/hid_apple.conf
and adding the following:

options hid_apple fnmode=2

Then edit /etc/dracut.conf.d/hid_apple.conf
and add the following:

install_items+=/etc/modprobe.d/hid_apple.conf

Then run: dracut --force

and reboot.

2 Likes

You could instead just pass that option as a boot parameter via GRUB using sudo grubby --update-kernel=ALL --args="hid_apple.fnmode=2" and reboot (yes, I’m lazy ;-).

2 Likes