Skip to content

Instantly share code, notes, and snippets.

@OrganicPanda
Last active August 29, 2015 13:56
Show Gist options
  • Save OrganicPanda/9247861 to your computer and use it in GitHub Desktop.
Save OrganicPanda/9247861 to your computer and use it in GitHub Desktop.

#Linux Mint#

Layout

Change the keyboard to English (UK, Macintosh) in Preferences > Region and Language > Layouts tab.

Super/CTRL Keys

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.

Set the Fx keys to be default rather than media keys (optional)

This command only works until a restart:

su
echo 2 > /sys/module/hid_apple/parameters/fnmode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment