You are not logged in.

#1 2014-04-29 19:26:27

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

mozc-ut + ibus: default keyboard for IME & starting with direct input?

So after my unsuccessful attempt to get mozc working with uim, I tried getting it to work with ibus and this time it worked.
There is however an issue: ibus seems to be arbitary deciding which keyboard keymap will be used when in mozc mode. I don't see any option to change that in mozc itself.

Currently, I have my locale set to jp_JP.UTF-8 in locale.conf and locale.gen has the corresponding entries uncommented. All the UI and the programs are running in Japanese (those that have support, anyway).
I have set the keyboard layout to japanese using localectl following the instructions here.

The physical keyboard has the Japanese layout (pc-105). I planned to use two layouts in ibus: Japanese (mozc-ut, default) and German. The problem is, ibus sets the German layout as default (bolded text), without any option to change that. Drag&Drop doesn't work.
This results in German keymap being used in mozc mode, which means special Japanese keyboard keys do not work, as those keys do not exists in the German keymap. If I tell ibus to use the system keymap, it correctly uses the Japanese keymap for mozc. But now it uses the Japanese keymap after switching to the German layout as well - so essentially it doesn't work.

1) how do I tell ibus (or mozc) to use the Japanese keymap when mozc is active?
2) ibus always skips the direct input mode. Is there a way to tell it to start with direct mode first?

If there is an alternative to ibus and uim which can solve these problems, do tell.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

Board footer

Powered by FluxBB