Skip to content

Instantly share code, notes, and snippets.

@pazthor
Forked from ercoppa/80-keychron.rules
Created November 23, 2019 20:26
Show Gist options
  • Save pazthor/3ec336bbd59bcde7367bda4cb3686ead to your computer and use it in GitHub Desktop.
Save pazthor/3ec336bbd59bcde7367bda4cb3686ead to your computer and use it in GitHub Desktop.
K2 Keychron Ubuntu 18.04
SUBSYSTEMS=="input", ATTRS{name}=="Keychron K2", RUN+="/bin/sh -c 'echo 0 > /sys/module/hid_apple/parameters/fnmode'"
  1. Add the udev rule in /etc/udev/rules.d/
  2. sudo udevadm control --reload-rules && sudo udevadm trigger
  3. Use it in MacOS mode (it works even in Windows mode but I don't get the accent when typing, e.g., RALT+```+e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment