Skip to content

Instantly share code, notes, and snippets.

@ercoppa
Last active February 25, 2023 18:30
Show Gist options
  • Save ercoppa/87a42a5d1fd65539844d7badc276d8e7 to your computer and use it in GitHub Desktop.
Save ercoppa/87a42a5d1fd65539844d7badc276d8e7 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)
@Hyftar
Copy link

Hyftar commented Aug 17, 2019

Pressing right alt + ` + e and getting è is normal behavior, it's called the compose key, you can lookup how to disable it.

@ercoppa
Copy link
Author

ercoppa commented Aug 17, 2019

I know it but in Windows mode it does not work under Linux, while in Mac mode it emits è as expected.

@pazthor
Copy link

pazthor commented Nov 23, 2019

Mmmm, I use it in windows mode on Ubuntu with the next input source for the accents issues:
English( US, International AltGr Unicode), in my cases for é (alt right + e)
but exists another inputs than for your accents é; English intl, with dead keys and English alt. intl.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment