Skip to content

Game Mode on-screen keyboard: Japanese conversion is hard-wired to the IBus engine "anthy" — allow Mozc #13973

Backlog

Description

@KAMEDAkyosuke

Your system information

  • Hardware: Steam Machine, Steam Controller
  • SteamOS 3.9.5 (build 20261023.100, stable)
  • Steam client version: 1794536281 (stable)
  • IBus 1.5.34, ibus-anthy 1.5.14 / anthy 9100h

Please describe your issue in as much detail as possible:

In Game Mode, the on-screen keyboard's Japanese layouts (Rōmaji and Kana) convert kana to kanji with Steam's own IBus daemon (ibus-gamescope.service). The engine is chosen by name: steamui/sp.js looks up get_engines_by_names(["anthy"]) and calls set_global_engine("anthy"), then applies Anthy-specific gsettings (org.freedesktop.ibus.engine.anthy.*) and the TypingMode.Romaji / TypingMode.Kana properties.

Anthy (9100h, 2009) gives noticeably poor conversion compared to Mozc, which is what most Japanese Linux users use today. Because the engine name is hard-coded, there is no way to use Mozc even when it is installed.

I verified that Mozc works well with the on-screen keyboard as it is: registering Mozc's IBus engine under the name anthy (via IBUS_COMPONENT_PATH on ibus-gamescope.service, with mozc_renderer disabled so candidates go through the IBus lookup table) makes the keyboard show Mozc's candidates and commit its results correctly in a Proton game. For example, kyouhaiitenkidesune converts to 今日はいい天気ですね, and converting kyou offers today's date (2026/11/30, 令和8年11月30日, …), which Anthy does not.

Request:

  1. Prefer Mozc when it is available — e.g. use mozc-jp if get_engines_by_names finds it, otherwise anthy, or
  2. Let users choose the engine for each Japanese layout in Settings > Keyboard.

Shipping ibus-mozc in SteamOS itself is requested separately: ValveSoftware/SteamOS#3148

Steps for reproducing this issue:

  1. In Game Mode, add "Japanese (Rōmaji)" in Settings > Keyboard > Active Keyboards.
  2. Open the on-screen keyboard in any text field, switch to Japanese and type kyouhaiitenkidesune, then convert.
  3. The candidates come from Anthy (/usr/lib/ibus/ibus-engine-anthy); installing Mozc does not change this.

Workaround used for the verification above: https://github.com/KAMEDAkyosuke/steamos-jp-ime (--mozc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions