You are not logged in.
I need Korean, English and Khmer keyboards.
In XFCE, I set up keyboard layout for Korean and Cambodia(Khmer). It was pretty easy to config in XFCE setting. Everything works well.
But I am mainly use i3 most of the time. I configured Korean with UIM. Korean and English keyboard was pretty good. However, Khmer keyboard(m17n-km-yannis) does not work well. Some keys does not work. For examples, 'a' key must print khmer ា. but prints just 'a'. So I could not use Khmer keyboard in i3.
Is there anyway to use the same XFCE Cambodia Khmer keyboard in i3?
Last edited by youngp74 (2021-05-16 14:58:16)
Offline
setxkbmap -layout us,kr,kh
?
You can also select different variants, https://wiki.archlinux.org/index.php/Xo … _setxkbmap
The definitions are in /usr/share/X11/xkb/symbols/
idk. whether you need uim or fcitx on top of that.
Offline
Thanks seth.....
I tried that way. I got some helps. Most of things work well. But still not good as in XFCE4. In Cambodia Khmer, Shift A key is binded to ាំ. However, in i3 and gnome, it bined to .
So my question is that why xfce4 has correct key binding. What kind of keyboard layout do they use? Can I just copy it? What IME is the default in xfce4? Anyone knows what default IME does xfce4 use?
Offline
Check "setxkbmap -print -query" on xfce and the process list ("ps aux") for possible input methods.
There's an "olpc" variant for khmer, but I've no idea what that is.
Offline
Thanks a lot seth...
OLPC looks like a NGO project to support laptop for kids. I found a docs on internet. http://wiki.laptop.org/go/OLPC_Khmer_Keyboard
This would be a good start for me.
Offline
Check "setxkbmap -print -query" on xfce and the process list ("ps aux") for possible input methods.
Offline
Now, I got all correct in XFCE and I3.
xkb has a good keyboard for khmer. And there is no IE supporting Khmer. Most of them are not correct. Maybe iBus one could work.
I setup uim-byeoru for Korean on XFCE4. For Khmer, I setup the default one from xkb(can be set up in XFCE keyboard). That worked fine.
Later on I start to use I3. And I setup uim-byeoru for Korean. and m17n for Khmer. Khmer did not work. So installed iBus for Korean and Khmer. However, iBus m17N Khmer some missing keys such as 'A'( ាំ )
I spent serveral days until i found my idiot mistakes.
From this, I realized that iBus Korea is little buggy. XKB Khmer keyboard is good.
For later uses:
For Khmer keyboard, need to use system default XKB is good enough
To activate Khmer keyboard in I3, need to add below to i3 config file
exec_always "setxkbmap -model pc104 -layout kr,kh -option grp:rctrl_toggle"
Offline