Keyboard layout doesn't switch to japanese when using a Japanese (109-key) keyboard and the system language is english
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mozc (Debian) |
New
|
Unknown
|
|||
mozc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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 bug report package accordingly, please.
Steps to reproduce:
1) Install Ubuntu 20.04.
1.1) Select English as the system language.
1.2) Select "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/
Comments:
I don't know what mozc "default" layout means. does it get the layout from /etc/default/
If it does, it's set to XKBLAYOUT=us and XKBVARIANT=intl (as per installation instructions) so no wonder mozc gets confused.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ibus-mozc 2.23.2815.
ProcVersionSign
Uname: Linux 5.13.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
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)
description: | updated |
description: | updated |
Changed in mozc (Debian): | |
status: | Unknown → New |
Thanks for your report. First a question:
How do you set "Japanese 109-key"? I don't see such a keyboard model option.
But leaving that aside, I suspect that you also want to install the mozc-utils-gui package. Because only switching to Mozc isn't sufficient. You also need to select some other "Input Mode" but "Direct input", for instance Hiragana, and for that I think that the just mentioned package provides the necessary tools.
Mozc works together with many layouts which provide the latin a-z letters, including us+intl, so I don't think Mozc was confused by that layout. ;)