Skip to content

Instantly share code, notes, and snippets.

@viniciusbig
Forked from ercoppa/80-keychron.rules
Created September 4, 2019 17:26
Show Gist options
  • Save viniciusbig/c5c0481e1a9e6248bcaa501a60e496d9 to your computer and use it in GitHub Desktop.
Save viniciusbig/c5c0481e1a9e6248bcaa501a60e496d9 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