Keyboard F1-F12 Fn config

From wiki
Jump to navigation Jump to search

The gembird keyboard model KB-MCH-02-BKW is a slim silent-key keyboard with clean design.

On OpenSuSE it appears as Apple, Inc. Aluminum Keyboard (ANSI) with VendorID:deviceID - 05ac:0220. Its F1-F12 keys on OpenSUSE Tumbleweed linux by default work as Function keys. The keyboard however does not have a 'Fn' button, meaning that F1-F12 keys cant be used in this form. To allow them to be used as F1-F12 keys, the solution is to execute the following command:

   echo 0 > /sys/module/hid_apple/parameters/fnmode

Or, in case of permission issue:

   echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode

Editing it this way will not require reboot.

Adding the option to the file is a good idea, so the change persists through reboots.

   0 = Fn key disabled
   1 = Fn key pressed by default
   2 = Fn key released by default