I am running Ubuntu 17.04 on a 2015 Macbook Pro. On the keyboard the Tilde~/Backtick</kbd> key is mapped to
<and
>`. I have found a few fixes for this, but have found no way to make it permanent.
I have found that the command
echo 0 > sys/module/hid_apple/parameters/iso_layout
corrects the issue, as does
setxkbmap -option apple:badmap
My issue is getting either of these commands to run inside of a script at startup/login so that I am not having to manually run it every time I want it fixed. I have tried using /etc/rc.local
but in Ubuntu 17.04 when trying to enable it with systemctl
I get no results. I will take anything that will work. Thanks guys!