4

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?

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Petruza
  • 141
  • 1
  • 3
  • 1
    Welcome to AskUbuntu, edit `/etc/modprobe.d/hid_apple.conf` and put `options hid_apple fnmode=2` This is an answer from this site https://wiki.archlinux.org/index.php/Apple_Keyboard – Sadaharu Wakisaka Apr 25 '20 at 21:40
  • 1
    @SadaharuWakisaka I did that, but doesn't work. – Petruza May 05 '20 at 03:25

1 Answers1

3

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.

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Fabio
  • 31
  • 2