If you have a Logitech or Apple Keyboard and your function keys not working then this guide is for you. You can apply this simple trick to fix this issue. Let’s get started.
♦ Checking Keyboard Type
Open terminal and type
lsusb
Verify if your usb keyboard is of Apple kind.
♦ Applying Solution
To Set the behaviour of function keys to F1-F12 by default first check current settings for these keys by running this command.
cat /sys/module/hid_apple/parameters/fmode
Default value for this setting is '1', Now lets change itby opening it in text editor and changing the value to 2. Here, i am using nano, you can choose your favrot editor.
sudo nano /sys/module/hid_apple/parameters/fmode
After making the changes, simply test your keyboard. If every thing went smoothly your keyboard should be working as expected.
Congratulations! You should have resolved you function keys issue.
Leave a comment below if you have any question or suggestions.
Happy Posting! See you in the next one.
Buy me a coffee! or
Show your support!