I just got a Keychron keyboard and nasty thing is that function keys are acting like multimedia keys by default, furthermore if you switch this by the keyboard it self, nothing happens. I found a solution for this on Mike Shade’s page:
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
This works great, but it’s not permanent, after reboot it reverts. The solution on this page was not working for me, so I just added this line to crontab and it works fine. Stupid, but I’m a stupid guy š š š