Disabling the fn key in Wayland?
Disabling the fn key in Wayland?
FN keys are usually handled at a firmware, sometimes BIOS or driver level. This makes them completely inaccessible to keyboard remappers (they have no idea when it is pressed), which is why none of them can do this.
This Stackexchange answer looks like it should contain the information you need, but I don’t have a 2014 MacBook to test it.
I use an Apple wired keyboard on Linux. By default the function keys (F1, F2, F3, etc) require the fn key to be pressed for them to work. Without the fn key, these keys control the features like Sc...
Oh my gosh! It worked! It totally worked! You’re awesome! Thank you so, so much!
To disable the fn key temporarily:
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
To disable the fn key permanently:
echo options hid_apple fnmode=0 | sudo tee -a /etc/modprobe.d/hid_apple.conf
And then regenerate the initramfs. If you’re using Arch like me, it’s:
sudo mkinitcpio -P
Being once again able to use my laptop while resting my back will make life much better.
Thank you to infinity and beyond! Blåhaj bless you. <3