Skip to content

Instantly share code, notes, and snippets.

@jungin500
Created August 14, 2024 03:22
Show Gist options
  • Select an option

  • Save jungin500/bb39eb074e2cb9729d06e9c8867355cb to your computer and use it in GitHub Desktop.

Select an option

Save jungin500/bb39eb074e2cb9729d06e9c8867355cb to your computer and use it in GitHub Desktop.
[Korean keyboard] Ubuntu 24.04 evdev patch for Hangul-key-less keyboard (which uses RALT as Hangul, RCTL as Hanja)
--- /usr/share/X11/xkb/keycodes/evdev 2024-08-14 12:14:23.869831337 +0900
+++ /usr/share/X11/xkb/keycodes/evdev.korean-patched 2024-08-14 12:13:35.992711920 +0900
@@ -67,12 +67,12 @@
<LWIN> = 133;
<LALT> = 64;
<SPCE> = 65;
- <RALT> = 108;
+ // <RALT> = 108;
alias <ALGR> = <RALT>;
<RWIN> = 134;
<COMP> = 135;
alias <MENU> = <COMP>;
- <RCTL> = 105;
+ // <RCTL> = 105;
<ESC> = 9;
<FK01> = 67;
@@ -154,8 +154,10 @@
// Keys that are generated on Korean keyboards
- <HNGL> = 130; // Hangul Latin toggle
- <HJCV> = 131; // Hangul to Hanja conversion
+ // <HNGL> = 130; // Hangul Latin toggle
+ // <HJCV> = 131; // Hangul to Hanja conversion
+ <HNGL> = 108;
+ <HJCV> = 105;
// Solaris compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment