I set /sys/module/hid_apple/parameters/fnmode to 2 and it gets overwritten to 1 on each reboot
I'm running Ubuntu alone on a Macbook, with no dual boot. I run:
echo 2 > /sys/module/hid_apple/parameters/fnmode
both as root and with sudo chmod
, but after restarting it's back to 1
.
How can I prevent this?
Solution 1:
After editing /etc/modprobe.d/hid_apple.conf
and putting options hid_apple fnmode=2
, you need to run:
sudo update-initramfs -u
Reboot after that.