18

Hi I have a problem with my new USB Lenovo keyboard, I can't (don't know how) switch Fn keys in Linux, on windows it was very easy.

But I don't know what I can do on Linux to switch Fn keys (or disable), do you know any solution? I need standard functions of F1 through F12...

David Foerster
  • 36,890
  • 56
  • 97
  • 151

2 Answers2

42

enter image description here

this is the best solution what i found ;-)

6

I found a software solution.

clone the following program from github:

git clone https://github.com/lentinj/tp-compact-keyboard.git

compile to following program:

cd tp-compact-keyboard/tp-compact-usb-keyboard
make
sudo ./tp-compact-usb-keyboard /dev/hidraw1

Maybe some errors are shown when you execute the program.

This program sent 2 keystrokes to the keyboard (0x05 and 0x01).

i think, you can't press them physically:

http://www.kbdedit.com/manual/low_level_vk_list.html

They are mapped to special keys.

this is only a temporary solution - after a reboot this settings are gone.

maybe you create a cronjob to fix it permanently:

http://www.cyberciti.biz/faq/linux-execute-cron-job-after-system-reboot/

MaCXyLo
  • 76