Comment 0 for bug 1958492

Revision history for this message
Marcel Montes (spiceman) wrote :

Disclaimer:
This is my first ever ubuntu bug report... and this isn't a mozc bug per-se, but more like an overall integration glitch. But this is the closest place I could think of.

Change the but report package accordingly, please.

Steps to reproduce:
1) Install Ubuntu 20.04.
  1.1) Select English as the system language.
  1.2) Selecting "Japanese 109-key" as the keyboard.
  1.3) Select "English (US, intl, dead keys)" as the keyboard layout.
2) On the newly installed system, run "sudo apt install ibus-mozc"
3) Add Japanese in "Region & Language" with "Japanese (Mozc)" as input source.

Problem:
super+space changes the systray icon, but the keyboard layout isn't switched.

Another noticeable error is that when using "Show Keyboard Layout", the layout name is displayed as "?" in the window title. (see attached img)

fix:
Edit /usr/share/ibus/component/mozc.xml and change "<layout>default</layout>" to "<layout>jp</layout>" as stated in https://help.ubuntu.com/community/JapaneseInput

Comments:
I don't know what mozc "default" layout means. does it get the layout from /etc/default/keyboard?
If it does, it's set to XKBLAYOUT=us and XKBVARIANT=intl (as per installation instructons) so no wonder mozc gets confused.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ibus-mozc 2.23.2815.102+dfsg-8ubuntu1 [modified: usr/share/ibus/component/mozc.xml]
ProcVersionSignature: Ubuntu 5.13.0-27.29~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 20 14:50:45 2022
InstallationDate: Installed on 2022-01-19 (0 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
SourcePackage: mozc
UpgradeStatus: No upgrade log present (probably fresh install)