Repository navigation
Bring Japanese input to existing VMs - #354
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015UqPgfcQhiCHGdfjQts5AY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015UqPgfcQhiCHGdfjQts5AY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Brings Japanese input (Fcitx5 + Mozc, JIS čąæ°/ã㊠keys) to VMs created before v0.6.0, through the Update and Launch boot migration.
apple-keyboard-input.lua) is installed on every boot, even after Skip and Launch. It needs no packages or network.japanese-inputrevision 3):fcitx5,fcitx5-mozc,fcitx5-gtk,fcitx5-qt,fcitx5-configtoolandnoto-fonts-cjk.pacman -Sy --neededand checks pacman's local database. It no longer runs a full-Syusystem upgrade, because the consent dialog is all-or-nothing and every older VM would otherwise get a system upgrade at boot.tryomarchy.mac_language=as a separate hint. It never changesLANG.XKBLAYOUTfrom/etc/vconsole.conf, as on new VMs. Mozc picks its kana table from that layout, so this fixes ã/ÂĨ in kana input for older VMs with thejplayout.5c4ccb6makes provenance check each backported file against the last backport that touches it.Known trade-off:
-Sywithout-uis a partial upgrade. A refresh is needed because Arch Linux ARM mirrors drop superseded packages. Pacman blocks broken dependency cases, but a newly built package needing a newer library than the VM has remains a small risk that grows as older VMs age.Testing
make test: exit 0. That covers 423 guest Python tests, 452 Swift tests (89 suites) andrun-qemu-ssh-contract.test.New tests cover:
/etc/vconsole.conf;Checked against upstream sources:
ConsumeRedundantActivateKeys, the default trigger keys, and Wayland keymap handling.Hangul/Hangul_Hanjaandapple:jp_oadg109a.XKBLAYOUT.Not tested on a running VM. Before release: copy a v0.5.1 VM, set the app's language to Japanese, then run Update and Launch. Confirm that:
XKBLAYOUT=jpthe profile listskeyboard-jp,mozc,chewing;Physical JIS čąæ°/ã㊠still needs a JIS Mac, or QMP
lang1/lang2events.ðĪ Generated with Claude Code
https://claude.ai/code/session_015UqPgfcQhiCHGdfjQts5AY