diff --git a/mac/fnmode-once.sh b/mac/fnmode-once.sh new file mode 100755 index 0000000..0fd707d --- /dev/null +++ b/mac/fnmode-once.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode >> /dev/null diff --git a/mac/fnmode-persistent.sh b/mac/fnmode-persistent.sh new file mode 100755 index 0000000..6072240 --- /dev/null +++ b/mac/fnmode-persistent.sh @@ -0,0 +1,3 @@ +#!/bin/sh +echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf +sudo update-initramfs -u -k all