Function Keys Not Working In Linux


Solution for Logitech or Other Apple Kind Keyboards Function Keys Not Working In Linux



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!



 

Related Posts


Setup Pycharm IDE With Global Package Manager

Easy To Follow And Step-By-Step Guide To Setup Pycharm IDE With Global Packages Manager


By Yasir Hussain | Posted 1 year ago

Setup Pycharm IDE In Linux

Easy To Follow And Step-By-Step Guide To Setup JetBraine Pycharm IDE In Your Linux Distro


By Yasir Hussain | Posted 1 year ago

Setup IntelliJ IDE In Linux

Easy To Follow And Step-By-Step Guide To Setup JetBrains IntelliJ IDE In Your Linux Distro


By Yasir Hussain | Posted 1 year ago