-
Notifications
You must be signed in to change notification settings - Fork 118
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
fcitx5 only works on default application, and cannot work on the third app #384
Comments
System Info:
Environment:
Fcitx State:
Fcitx Configure UI:
Frontends setup:Xim:
Qt:
Gtk:
Configuration:Fcitx Addons:
Log:
|
Are you using chrome + ozone wayland? What's the version of chrome? |
Sorry, I don't know ozone. ❯ cat /etc/debian_version
11.0
❯ cat /etc/os-release
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_CODENAME=impish
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=impish
❯ uname -a
Linux Aurora 5.13.0-21-generic #21-Ubuntu SMP Tue Oct 19 08:59:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
|
Looks like it's just not set environment variable correctly. Just try run im-config and select fcitx 5. |
Not work. I have already selected fcitx5. It will work fine from time to time, which is so strange. |
Hi, @wengxt Works fine App
Not work fine App
|
typora works for me as a Xwayland application. If you somehow launch chrome and typora in ozone+wayland mode, it might not work. See Also it need to be able to load system gtk library. |
Also it really depends on how you install typora and chrome. I don't know if snap version in ubuntu has fcitx support or not. I use the deb version of typora on archlinux and it works fine. If your typora and chrome is from snap store, I'd suggest you report bug to ubuntu to make them include fcitx im module. |
Thank you for your prompt reply. |
Re-install fcitx and fcitx-googlepinyin, it works fine. |
FWIW, if reinstallation makes any difference, it's an issue with the installation and configuration, not fcitx. |
Especially when you say "fcitx-googlepinyin", then it's not fcitx5 but fcitx 4? |
Yep, I know fcitx4 and fcitx5. I mean that fcitx4 of the same series can be used, but not fcitx5. So I guess fcitx5 caused the failure. |
That's more likely to be your configuration issue. I suggest you run
fcitx5-diagnose and check after you install it.
Mystic ***@***.***>于2021年11月26日 周五18:06写道:
… Yep, I know fcitx4 and fcitx5. I mean that fcitx4 of the same series can
be used, but not fcitx5. So I guess fcitx5 caused the failure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#384 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB7MZA27G76FUJKBMY2KMTUOA4MDANCNFSM5IEHKMFQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
BTW, fcitx-googlepinyin works by switching the keyboard, not input method. |
Same bug
I can switch between languages in terminal but (at least) Firefox and Chrome always printing english alpabet instead cyrillic. Solved problem above by adding startup script to gnome session:
This script temporarily set only |
Are you using wayland? If so it's kinda a known issue. X11 should be OK. Also, yes indeed, there's plan to use gsettings to set global layouts under gnome. |
@wengxt |
@razielvamp666 one option is that you just don't use the input method group, and put everything in the same group. But you probably don't want that. Wayland doesn't have a similar thing like setxkbmap that is generic to all desktop. Every desktop now has its own way to set layout. Right now changing system layout with fcitx only supports KDE. I guess you might need to wait until fcitx support it.. and it will just use the similar approach like your script actually. |
The fcitx5 can only input chinese word in Terminal ,can not input Chinese in vscode ,chrome ,firefox etc...... |
please use https://github.com/fcitx/fcitx5/discussions to ask questions. Especially, don't reply on a closed issue. When you ask, please include the output of fcitx5-diagnose. |
I have the same problem. In my environment, I was able to enter letters by launching a third application from the terminal. |
The following solution worked in my environment.
Wayland does not have files that are executed at session startup such as
Now fcitx5 is recognized on the Wayland session and can be run by third-party apps launched from outside of bash. |
I had the same problem, using MATE on Arch Linux. The key is typing |
Describe the bug
I cannot use fcitx5-pinyin on Chrome.
To Reproduce
Expected behavior
Works well on the Chrome.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: