Custom Keyboard Layout and FN Mode

Hey folks, how can I make use of a custom keyboard layout? Is there a "workaround" for the immutable system that survive reboots? Second, my custom keyboard will act like an keychron with apple FN Mode in place. (FN + 1 will lower the screen brightness instead of F1). To alter this I normally can use this "echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode" but again, with the immutable system I think this doesn't work. How can I workaround over the two problems?
5 Replies
termdisc
termdisc•5d ago
you can just do it surviving reboots is more related to /sys/module/hid_apple/parameters/fnmode itself not surviving reboots rather than immutability
termdisc
termdisc•5d ago
https://unix.stackexchange.com/questions/121395/on-an-apple-keyboard-under-linux-how-do-i-make-the-function-keys-work-without-t in the first answer:
As several people have commented, this change is temporary. You can stick it in your login shell's RC file or into cron so that you don't have to worry about it.
Unix & Linux Stack Exchange
On an Apple Keyboard under Linux, how do I make the Function keys w...
I use an Apple wired keyboard on Linux. By default the function keys (F1, F2, F3, etc) require the fn key to be pressed for them to work. Without the fn key, these keys control the features like Sc...
steve_1337
steve_1337OP•5d ago
For me it survived reboots very well. I've done this multiple times on different distros. Steam Deck and nobara 2 times. Worked every boot for me 🤔. I give it a try, thank you.
termdisc
termdisc•5d ago
don't know what to say then. that forum post is 11 years old long before immutable distros were a thing
steve_1337
steve_1337OP•5d ago
Maybe that's the thing. I give it a try tomorrow. I am to inpatient and installed bazzite already 😅

Did you find this page helpful?