#953046 Wrongly picks AZERTY layout when alternative Canadian layout is present.

Package:
ibus-mozc
Source:
mozc
Description:
Mozc engine for IBus - Client of the Mozc input method
Submitter:
Charles Plessy
Date:
2021-03-21 14:15:02 UTC
Severity:
normal
#953046#5
Date:
2020-03-03 19:31:10 UTC
From:
To:
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,

#953046#10
Date:
2021-03-21 14:05:38 UTC
From:
To:
Thanks for your report!

Can you please run these terminal commands:

gsettings get org.gnome.desktop.input-sources sources

gsettings get org.freedesktop.ibus.general use-system-keyboard-layout

cat /etc/default/keyboard

and let us know what they output.