mirror of
https://github.com/arkorty/Scripts.git
synced 2026-03-17 17:01:41 +00:00
Add new file: fn-keys
Description: Change function key mode for Keychron K2 Keyboard
This commit is contained in:
6
fn-keys
Executable file
6
fn-keys
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
sudo touch /etc/modprobe.d/hid_apple.conf # create conf file
|
||||
sudo echo "options hid_apple fnmode=2" >> /etc/modprobe.d/hid_apple.conf # append options to the config file
|
||||
sudo update-initramfs -u # loads changes
|
||||
echo "\nPlease reboot to apply changes\n" # echos reboot message
|
||||
Reference in New Issue
Block a user