You are not logged in.
Pages: 1
hi guys, i have this korean keybaord it's basically same layout with exception of two keys
which is Alt_R to Hangul(let's you use hangul characters) Control_R to Hangul_Hanja(let's you use hanzi).
when editing some texts the absence of those two Alt_R and Control_R keys makes harder.
so i tried using xmodmap to remap those and it solved half of problem, i can use Alt_R, but Control_R is just not responding not doing anything.
here's some info what i could find
xmodmap:
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)xmodmap -kpe:
keycode 108 = Alt_R Meta_R Alt_R Meta_R
keycode 130 = Alt_R NoSymbol Alt_R
keycode 105 = Control_R NoSymbol Control_R
keycode 131 = Control_R NoSymbol Control_Ri could simply order a american keyboard at amazon but that would take a month to ship here to korea
please help
edit:
i added these at ~/.xprofile and it works now, solved
xmodmap -e 'keycode 130 = Alt_R'
xmodmap -e 'keycode 131 = Control_R'
xmodmap -e 'clear Control'
xmodmap -e 'add Control = Control_L Control_R'Last edited by sneakybanana362 (2021-02-17 18:32:24)
Offline
https://en.wikipedia.org/wiki/Keyboard_ … or_Korean)
Which of those?
What's the output of "xev -event keyboard" when you press the right control key?
Offline
it's Dubeolsik and 87key keyboard and
xev -event keybaord :
Outer window is 0x3400001, inner window is 0x3400002
KeymapNotify event, serial 22, synthetic NO, window 0x0,
keys: 4294967239 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 25, synthetic NO, window 0x3400001,
root 0x29f, subw 0x0, time 37370064, (-63,643), root:(1227,658),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
XLookupString gives 1 bytes: (0d) "
"
XFilterEvent returns: False
KeymapNotify event, serial 26, synthetic NO, window 0x0,
keys: 4294967199 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 26, synthetic NO, window 0x0,
keys: 4294967199 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyPress event, serial 28, synthetic NO, window 0x3400001,
root 0x29f, subw 0x0, time 37372608, (72,607), root:(1362,622),
state 0x0, keycode 131 (keysym 0xffe4, Control_R), same_screen YES,
XKeysymToKeycode returns keycode: 105
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x3400001,
root 0x29f, subw 0x0, time 37372728, (72,607), root:(1362,622),
state 0x0, keycode 131 (keysym 0xffe4, Control_R), same_screen YES,
XKeysymToKeycode returns keycode: 105
XLookupString gives 0 bytes:
XFilterEvent returns: Falseit reads Control_R, but every control hotkeys doesn't work like control+w(firefox), control+f,b(terminal).
i never used other than korean keyboard, does Control_R do nothing by default?
thanks for helping
Last edited by sneakybanana362 (2021-02-17 17:15:02)
Offline
How's this solved?
The keycode/symbol is correct, but the state isn't because the modifier map doesn't fit.
xmodmap -pmOffline
Pages: 1