echo "options hid_apple fnmode=2" > /etc/modprobe.d/hid_apple.conf