Skip to content

Commit aaedb7d

Browse files
committed
Permanently fix F keys on apple mode keyboards
1 parent 099f094 commit aaedb7d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎default/bash/functions‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,3 @@ refresh-xcompose() {
7171
pkill fcitx5
7272
setsid fcitx5 &>/dev/null &
7373
}
74-
75-
# Ensure that external keyboards that use an fn key has the F keys as the default
76-
alias fix_fkeys='echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode'

‎install/fix-fkeys.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf
2+
sudo mkinitcpio -P

0 commit comments

Comments
 (0)