目前使用的键盘为腹灵FL980,在Ubuntu系统下,F1~F12被强制改为功能键。
本想F5键用于刷新页面,而实际被设置为了键盘背光亮度-,因此,希望将功能键禁止掉。
在Terminal下运行如下代码,并重启,即可解决本问题。
echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all
sudo reboot
参考链接:macesuted’s blog