evgnomon / blueprint

Print your workstation wherever you are. The same thing, the same way, every time.
Other
0 stars 0 forks source link

Disable fn keys for Apple keyboards. #45

Closed evgnomon closed 2 weeks ago

evgnomon commented 3 months ago

Add a systemd service /etc/systemd/system/set-fnmode.service

[Unit]
Description=Set FN Mode for HID Apple

[Service]
Type=oneshot
ExecStart=/bin/bash -c "echo -n 0x02 > /sys/module/hid_apple/parameters/fnmode"
User=root

[Install]
WantedBy=multi-user.target

And then:

sudo systemctl daemon-reload
sudo systemctl enable set-fnmode.service
sudo systemctl start set-fnmode.service
evgnomon commented 2 weeks ago

not active anymore.

evgnomon commented 2 weeks ago

Check this in Debian.

evgnomon commented 2 weeks ago

Added the config in etc/modprobe.d