Projects · Tools & libraries
IBus Mozc System かな入力の仕組み
Scripts and X11/XFCE configuration that make Japanese input with IBus and Mozc work reliably on a keyboard with no Japanese keys.

full-width half-width hiragana ひらがな (does not exist) katakana カタカナ カタカナ Right Ctrl -> hiragana / katakana Insert -> full / half width Menu -> English / Japanese
IBus and Mozc work, until they don't: the input state drifts between windows, the candidate box gets stuck on screen, and some apps silently ignore the input method. This set of tools fills the gaps between IBus, Mozc, X11 and XFCE.
- Two keys, two axes. Right Ctrl switches hiragana and katakana, Insert switches full and half width. One press each, from any state, even mid-conversion. Menu still switches English and Japanese.
- One input state for the whole desktop, tracked by a small follower process, so every window types the same way until you change it. It also keeps Mozc's session alive, so Japanese doesn't switch itself on after the computer was left alone for an hour.
- Every app on a route that works. GTK, Qt, SDL games, Wine and Java take input as they are, and
ime-launchputs Electron apps (Discord, VS Code), Steam's own UI and flatpaks on the route they actually work with. - A supervisor that brings the IBus/Mozc stack up and keeps it alive, plus read-only diagnostics (
ibus-health,ime-probe) that tell you why an app isn't taking input. mozc-keymapedits Mozc's keymap from the command line, no GUI needed.
