Repository navigation
Conversation
edfd7de to
74b433c
Compare
…le-ime) `omamobile-ime on` hands Hyprland's one input method to fcitx5 with Mozc, and `off` gives it back to squeekboard. squeekboard's keys reach fcitx5 through the keyboard grab, so romaji converts with Space and commits with Enter. Mozc converts only while the keyboard's language (the globe key) is "Japanese (romaji)", a copy of the US layout that `on` adds to the list; with any other language fcitx5 passes keys through as typed. At login omamobile-ime.service restarts squeekboard once fcitx5 holds the input method, then follows the language. Off by default, and inert while off. With it on, squeekboard no longer sees text fields (double-tap the home strip), candidates take no taps, and the Kana layout can't be used (it needs more keycodes than a keymap has). Needs hyprland 0.57.0-3.4 (derekross#762). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KgnCmDwY8r4r1jCa2SVYLN
74b433c to
d906fa0
Compare
|
Thank you, Hiroyuki. Japanese input that stays off until you ask for it, and that converts only while the keyboard's language is Japanese (romaji), so an English password passes through untouched, is a good shape for this. Keying the login unit on the same I read it through and ran
Three smaller things, take or leave:
This merges after #762, which your README names as 0.57.0-3.4; I plan to merge #762 first so that number holds. I'll set the shell version when I merge (0.2.132 or the next free one). |
…swer From the review of derekross#763. A failed fcitx5-remote (fcitx5 not up yet at a slow login, or restarting) ended `session` under set -e, and each restart of the unit restarted squeekboard, so the keyboard went and came back until systemd gave up. Now a failed apply is logged and retried for up to 10 s at start, later changes are still applied, and squeekboard is restarted once per login session (a marker in $XDG_RUNTIME_DIR, cleared by on and off). Also from the review: the waits can be shortened for tests (the test runs in seconds), Japanese (romaji) is offered in the language sheet only while Japanese input is on, the jp+romaji headers name their language, and a test keeps their bodies the same as the US files'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KgnCmDwY8r4r1jCa2SVYLN
|
Thanks for the careful read, Derek, and for trying it with a failing Input methods are a big step, and I'd like people who type other languages to shape where this goes, so I've opened #801 for that. This PR stays the Japanese first step. |
…swer From the review of derekross#763. A failed fcitx5-remote (fcitx5 not up yet at a slow login, or restarting) ended `session` under set -e, and each restart of the unit restarted squeekboard, so the keyboard went and came back until systemd gave up. Now a failed apply is logged and retried for up to 10 s at start, later changes are still applied, and squeekboard is restarted once per login session (a marker in $XDG_RUNTIME_DIR, cleared by on and off). Also from the review: the waits can be shortened for tests (the test runs in seconds), Japanese (romaji) is offered in the language sheet only while Japanese input is on, the jp+romaji headers name their language, and a test keeps their bodies the same as the US files'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KgnCmDwY8r4r1jCa2SVYLN
714ba7d to
058aff6
Compare
|
On the language sheet: please show "Japanese (romaji)" only once |
|
Thank you, Hiroyuki, this is a thorough answer. I checked each part: the follower now logs and keeps going when fcitx5 doesn't answer, squeekboard restarts once per session behind the marker (and again after One small thing is left on that same point. With that, this is ready once #762 is in. I'll set the shell version when I merge: 0.2.132 goes to #425, which merges first, so this takes the next free number. |
Japanese input on the phone, off by default. This brings back #693 with the language switch working.
omamobile-ime on: fcitx5 with Mozc takes Hyprland's input method, and squeekboard's keys reach it through the keyboard grab. Romaji converts with Space and commits with Enter.on). With any other language keys pass through as typed, so a password in English is safe.offgives the input method back to squeekboard.Known limits: squeekboard no longer pops up for text fields (double-tap the home strip), candidates take no taps, and there's no Kana layout.
Tested on my 7 Pro (2026-11-14, with #762): typed and converted Japanese. Shell
test/all(newime.sh) andtools/pr-checkpass.🤖 Generated with Claude Code