Ask Your Question

Change FN key behavior on Fedora 26/27

asked 2018-04-07 13:54:27 -0500

sorcer gravatar image

I want to change the Fx shortcuts, i.e. F5 to reload the web page, but not to adjust the keyboard backlight. On earlier versions of Fedora (25 and lower) there is a file called /sys/module/hid_apple/parameters/fnmode which controls the behavior of fn key shortcuts. But newer versions of Fedora (26-27) don't have such file. How to edit fn key behavior on system? Thanks in advance for help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-08 16:06:43 -0500

ssieb gravatar image

I assume that the hid-apple module isn't getting loaded for some reason. You can verify that by running lsmod | grep apple. If it isn't in the list, see if running modprobe hid-apple brings back the configuration file.

To permanently set the fn mode settings, create a file called /etc/modprobe.d/hid_apple.conf containing the line options hid_apple fnmode=2.

If the module isn't getting loaded automatically, you can force it by creating a file called /etc/modules-load.d/hid_apple.conf containing the line hid-apple.

edit flag offensive delete link more

Question Tools


Asked: 2018-04-07 13:54:27 -0500

Seen: 441 times

Last updated: Apr 08 '18