This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
hardwarerelated:hangul_keyboard [2016/08/17 07:28] – [What is this about?] chris | hardwarerelated:hangul_keyboard [2022/11/13 12:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== What is this about? ===== | ||
+ | I bought a keyboard in korea, with background LED and hangul on its keys. Quite cheap for this quality and LED backlight. This document my reminder for using it on linux, as the keyboard needs minor tweaking for my usage on Linux. | ||
+ | < | ||
+ | [chris@Гага́рин ~]$ lsusb | ||
+ | [..] | ||
+ | Bus 001 Device 004: ID 0c45:760a Microdia | ||
+ | [..] | ||
+ | [chris@Гага́рин ~]$ | ||
+ | </ | ||
+ | |||
+ | The keyboard is usable as is with Xorg, I just have the habit of using the right ctrl-key together with the cursor keys to change the virtual screen. When starting " | ||
+ | |||
+ | ===== The default xorg key mappings ===== | ||
+ | Executing " | ||
+ | < | ||
+ | # left CTRL | ||
+ | KeyRelease event, serial 36, synthetic NO, window 0x1a00001, | ||
+ | root 0xde, subw 0x0, time 197433995, (973,723), root: | ||
+ | state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, | ||
+ | XLookupString gives 0 bytes: | ||
+ | XFilterEvent returns: False | ||
+ | |||
+ | # right CTRL | ||
+ | KeyRelease event, serial 36, synthetic NO, window 0x1a00001, | ||
+ | root 0xde, subw 0x0, time 197399484, (465,106), root: | ||
+ | state 0x0, keycode 131 (keysym 0xff34, Hangul_Hanja), | ||
+ | XLookupString gives 0 bytes: | ||
+ | XFilterEvent returns: False | ||
+ | </ | ||
+ | ===== Notes for using the keys ===== | ||
+ | * " | ||
+ | * " | ||
+ | * The following code can be used to remove the groupings of keys into the " | ||
+ | < | ||
+ | xmodmap -e "clear lock" | ||
+ | xmodmap -e "clear control" | ||
+ | xmodmap -e "add control = Control_L Control_R" | ||
+ | xmodmap -e " | ||
+ | </ | ||
+ | * The following is doing the mapping via xmodmap file: | ||
+ | < | ||
+ | [chris@Гага́рин ~]$ cat .Xmodmap | ||
+ | clear lock | ||
+ | clear control | ||
+ | add control = Control_L Control_R | ||
+ | keycode 131 = Control_R | ||
+ | [chris@Гага́рин ~]$ | ||
+ | [chris@Гага́рин ~]$ xmodmap ~/ | ||
+ | [chris@Гага́рин ~]$ | ||
+ | </ | ||
+ | * compat with ibus: I often switch with the ibus-framework between the German/ | ||
+ | ===== see also ===== | ||
+ | * https:// |