i'm running Ubuntu 16.04 LTS and want to use an apple keyboard (wired). No i'm facing some problems whith making my custom settings permanent. I'm using the 'English internationl, AltGr dead keys' layout.
The keyboard has some keys swapped and i set the settings manually in the
/sys/module/hid_apple/parameters/
folder. I set fnmode
to 2
, iso_layout
to 0
and swap_opt_cmd
to 1
. After this everything works like intended. But after rebooting the settings are back to the default. I have to reset everything manually after each reboot.
For now i wrote a little shell script which would do it but that's not the best way i think.
How can i make these settings persistent?