How to switch/disable functionality of fn keys on Ubuntu - USB keyboard

enter image description here

this is the best solution what i found ;-)


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/