Bugzilla – Bug 1211619
rime-schemas not detected by fcitx5-rime on KDE Wayland
Last modified: 2023-06-03 17:03:25 UTC
Steps to Reproduce: 1. Be on KDE Wayland (idk if this bug is only on KDE or if it is also on other desktops) 2. zypper in fcitx5-rime (It will also install all of the rime-schemas which should be detected by rime) 3. Add rime as an input method 4. None of the additional rime schemas will be detected It seems only the schemas in ~/.local/share/fcitx5/rime/build are recognized, the other rime-schemas which are installed at /usr/share/rime-data are not. Additionally, I wonder if some of this may be caused by openSUSE having out of date schemas (last updated 2021) and what can be done to remedy this.
Marguerite, can you check this? The fcitx5 packages have been updated very recently on OBS M17N project. Gordon, could you verify whether the problem persists?
1. you can provide /tmp/rime.fcitx-rime.ERROR to verify if /usr/share/rime-data is recognized. 2. you can try the version 20230528+git.cece251
Created attachment 867303 [details] rime WARNING file
Created attachment 867304 [details] rime INFO file
(In reply to Marguerite Su from comment #2) > 1. you can provide /tmp/rime.fcitx-rime.ERROR to verify if > /usr/share/rime-data is recognized. > > 2. you can try the version 20230528+git.cece251 I have tried the latest version by running zypper in fcitx5-rime again and it still does not detect the extra schemas. I did not encounter any ERROR file in my /tmp directory but I did find a INFO and WARNING file.
1. please define "extra schemas", do you mean rime-schema-extra package? it has 15 different input method schemas. 2. if you don't have any ERROR file, then rime is working fine and /usr/share/rime-data is recognized. In my test case, I delete ~/.local/share/fcitx5/rime and try to input with /usr/share/rime-data only. and it works.
Created attachment 867377 [details] I can not see any extra installed rime schemas here
See the screenshot I just posted. Here, I can not see for example the Jyutping rime schema that is already installed on my computer. I am looking at the "select layouts" menu for Rime and there is no "Cantonese" language option. So I click "Chinese" and then I can not find any Jyutping keyboard layout. Most of the other rime layouts are missing too. I also have a bopomofo rime schema installed but that too does not appear on this list. How do I get Rime to use the Jyutping schema?
Created attachment 867388 [details] rime schema settings because it is a wrong place to find rime schema, it is the setting for keyboard layout. keyboard layout is a diffferent stuff compared to "input method".
1. “ps -A | grep fcitx” to verify you have fcitx5 started, or “fcitx5 -D” to start fcitx5, or simply “systemctl —-user start fcitx5”. 2. Add a “input method panel” widget to kde 3. Open a plain text editor like kwrite or find a place where you can input 4. Ctrl+Space to trigger fcitx5 5. Click the keyboard icon on the right bottom of your desktop, set the input method to “rime” 6. Click the planet icon in my screenshot 7. Click the schema you like 8. Input.
The screenshot you posted does not show Jyutping (粵拼) or (粵語拼音) in the menu. I have tried your steps with the rime-schema-Jyutping package installed on my system and I do not see Jyutping as an option either. I do see other options, but no Jyutping.
Created attachment 867389 [details] jyptping selection I didn't have it because I didn't use jyutping at all, and you seems to be new to rime, so: 1. sudo zypper in rime-schema-prelude rime-schema-jyutping 2. mkdir -p ~/.local/share/fcitx5/rime 3. vi ~/.local/share/fcitx5/rime/default.custom.yaml with content: patch: schema_list/+: - schema: jyutping and click the "redeploy" button.
Created attachment 867390 [details] jyutping typing
btw: rime-jyutping was deprecated back in 2019 because it doesn't have tones rime-cantonese is the new jyut6ping3 with tone support. sudo zypper in rime-plum rime-cantonese rime-plum CanCLID/rime-loengfan change ~/.local/share/fcitx5/rime/default.custom.yaml to: patch: schema_list/+: - schema: jyut6ping3 - schema: jyut6ping3_ipa - schema: jyutping to enjoy all three type of jyutping
Created attachment 867391 [details] jyut6ping3 typing
Thanks for the help Marguerite, now it works on my side. I do still find it strange that this extra configuration even needs to be done to enable the schemas but that is not a "bug" on openSUSE's side so I will close this issue.