stevset/scripts/apple_swapopt.sh
2024-11-22 21:50:29 -05:00

5 lines
224 B
Bash
Executable file

#!/bin/bash
# https://askubuntu.com/a/919096
echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_opt_cmd
echo options hid_apple swap_opt_cmd=1 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all