-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibus+Mozc setup #4841
Comments
hmmm ... actually, I have the exact same issue with Anthy.
The anthy panel shows up, and even if selecting Hiragana mode, only alphabet will be displayed. Wondering how to debug and fix that issue. It can't be that all the apps I've tried input text into are not supporting ibus without more configuration (tried chromium-ozone, alacritty, termite), is it? EDIT: after restarting the laptop, I can see kanjis printed in Anki (both anthy and mozc 🎉 ). It still doesn't work on chromium-ozone, alacritty and termite O_O.
|
Using ibus+mozc kitty: doesn't work, though I have a feeling it did at one stage? |
I switched to firefox, but realized (thanks xeyes) that both firefox-developer-edition (expected) and firefox-wayland-hg (unexpected) run under xwayland. Saying thing because I'm thinking mozc issues are related to wayland apps only, and not xwayland ones.
|
I'm running firefox (nightly) natively and 日本語OK |
@ammgws oh... Then I don't know why these problems occur. Should we re-open this ticket? I'm afraid sway has nothing to do with this issue ^^' |
You can try running a different Wayland compositor (non-wlroots based one would be better I guess?) and seeing if it works there to be sure. |
@ammgws I think I figured out the reason (but not the fix yet) $ ps x|grep ibus
996 ? Ssl 0:05 ibus-daemon -drx --panel /usr/lib/ibus/ibus-ui-gtk3
1009 ? Sl 0:00 /usr/lib/ibus/ibus-dconf
1014 ? Sl 0:01 /usr/lib/ibus/ibus-ui-gtk3
1018 ? Sl 0:01 /usr/lib/ibus/ibus-extension-gtk3
1026 ? Sl 0:00 /usr/lib/ibus/ibus-x11 --kill-daemon # WUT ?
1034 ? Sl 0:00 /usr/lib/ibus/ibus-portal
1230 ? Sl 0:01 /usr/lib/ibus/ibus-engine-simple
1966 ? Sl 0:00 /usr/lib/ibus-mozc/ibus-engine-mozc --ibus My sway config:
Somehow, ibus-daemon gets ibus-x11 to run instead of ibus-wayland.
From this comment, with weston we'd do:
Now this becomes a request for sway to support this feature, which is a duplicate of #873 |
#4740 is for input-method-unstable-v2, but ibus needs input-method-unstable-v1. |
Related issues: #873, #1225
I tried setting up mozc with ibus, but similarly to this HN comment, once the setup completed (with ibus' property panel always visible and ibus engine reporting mozc-jp), the prediction box doesn't show up and only alphabet letters are being typed.
I would have given up if it wasn't for one of the replies:
This seems to confirm that ibus+mozc on sway is possible.
Anyone can share a working configuration?
.local/bin/ibus-toggle
.config/sway/config
/usr/share/gdm/env.d/sway.env
commands I've found useful:
/usr/lib/mozc/mozc_tool --mod=config_dialog
ibus-setup
env | grep -E 'XMOD|_IM'
ibus --help
The text was updated successfully, but these errors were encountered: