Hi Nobuhiro,
It has been years that I was affected with that bug, but I am only
reporting it now as I found an (old!) workaround in Launchpad.
I use GNOME with a Japanese keyboard, and I have 3 layouts configured; I
switch between them according to the language I write in.
- jp – Japanese (OADG 109A), for writing English and programming.
- fr – Candian Multilingual, for writing French. This is a QWERTY layout.
- あ – Japanese (Mozc), for writing Japanese.
Strangely, while both the Japanese and Canadian layouts are QWERYY, the mozc
engine automatically picks an AZERTY layout (which is standard in France),
despite my laptop has a Japanese keyboard.
In https://bugs.launchpad.net/ubuntu/+source/indicator-keyboard/+bug/1240004
I learnt that if I replace "default" with "jp" in /usr/share/ibus/component/mozc.xml
then mozc will use the Japanese layout as appropriate. But obviously
this change will be erased at the next package upgrade.
I am not sure how to solve that problem in the long term…
Cheers,