Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save karolba/c11a69eee0ae7d2a102b213993272558 to your computer and use it in GitHub Desktop.
Save karolba/c11a69eee0ae7d2a102b213993272558 to your computer and use it in GitHub Desktop.
Key mapping to use a ISO layout MX Keys Mini for Mac keyboard with Linux comfortably
# /etc/udev/hwdb.d/90-custom-logitech-mx-mini-mac-keyboard.hwdb
evdev:name:MX Keys M Mac Keyboard:*
KEYBOARD_KEY_70064=grave # plusminus/paragraph -> grave/tilde
KEYBOARD_KEY_700e2=leftmeta # left option -> left windows/super
KEYBOARD_KEY_700e3=leftalt # left command -> left alt
KEYBOARD_KEY_700e7=rightalt # right command -> right alt
# to reload the config, execute: systemd-hwdb update && udevadm trigger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment