At work my boss wanted me to add Korean input method on the current embedded Linux system for Korean customers. So, this post is about how I make it happen using ibus-hangul with Yocto Zeus release.
Goal
Users should be able to switch to Korean input method by external keyboard or onboard keyboard on embedded Yocto Linux system.
Environment
- SoC: iMX6 Quad/Solo SABRE Board for Smart Devices
- Yocto Zeus - https://wiki.yoctoproject.org/wiki/Releases
- Matchbox - https://en.wikipedia.org/wiki/Matchbox_(window_manager)
- IBUS - https://en.wikipedia.org/wiki/Intelligent_Input_Bus
- ibus-hangul - https://github.com/libhangul/ibus-hangul
- libhangul - https://github.com/libhangul/libhangul
Input Method Framework
There are several input method frameworks out there, such as SCIM, IBUS, fcitx .. etc. I have worked on fcitx for traditional Chinese several years ago on my chromebook (Linux using crouton). As I remember, the experience was not good.
This time, based on our requirement/environment, I did a quick research and found out that iBus might be the easiest one to get it done, and it seems to have better support for Yocto. Also, there is someone who regularly updates ibus-hangul and libhangul github repos, which is good. At least, it should be less buggy.