#Linux Mint#
Change the keyboard to English (UK, Macintosh)
in Preferences > Region and Language > Layouts tab
.
Add the following lines to ~/.Xmodmap
:
remove control = Control_L
remove mod4 = Super_L Super_R
keysym Control_L = Super_L
keysym Super_L = Control_L
keysym Super_R = Control_L
add control = Control_L Control_R
add mod4 = Super_L Super_R
Add xmodmap $HOME/.Xmodmap
as a startup command.
This command only works until a restart:
su
echo 2 > /sys/module/hid_apple/parameters/fnmode