View previous topic :: View next topic |
Author |
Message |
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Sat Sep 28, 2024 4:22 pm Post subject: Plasma 6 chinese pinyin input issue |
|
|
After upgraded to Plasma 6, I installed app-i18n/fcitx-chinese-addons-5.1.6
Pinyin works on libreoffice Konsole, kwrite and kdenlive etc most apps but not work on Chromium and Firefox and Thunderbird.
Does anyone can shed some light on how to make pinyin on Chromium and Firefox and Thunderbird under app-i18n/fcitx-chinese-addons? |
|
Back to top |
|
|
druggo Guru
Joined: 24 Sep 2003 Posts: 319 Location: Hangzhou, China
|
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Sun Sep 29, 2024 8:25 pm Post subject: |
|
|
Yes, I have followed the https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx
$ cat ~/.xprofile
eval "$(dbus-launch --sh-syntax --exit-with-session)"
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
/etc/portage/make.profile $ cat ~/.xinitrc|grep -v "^#"
eval "$(dbus-launch --sh-syntax --exit-with-session)"
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
so far, I do not see introduction on app-i18n/fcitx-chinese-addons in gentoo "How To" documents.
Guide https://wiki.gentoo.org/wiki/Fcitx may only fit fcitx<=4 not fcitx-5. |
|
Back to top |
|
|
druggo Guru
Joined: 24 Sep 2003 Posts: 319 Location: Hangzhou, China
|
Posted: Mon Sep 30, 2024 4:37 am Post subject: |
|
|
I'am using fcitx5 with fcitx-rime in Gnome, input works for firefox-bin and google-chrome-beta,
my settings :
Code: | $cat /etc/env.d/02locale
LANG=zh_CN.utf8
XMODIFIERS="@im=fcitx"
XIM=fcitx
XIM_PROGRAM=fcitx
QT_IM_MODULE=fcitx5
GTK_IM_MODULE=fcitx5
|
_________________ AMD FX-8300 / Loongson-2f (lemote-yeeloong) |
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Mon Sep 30, 2024 5:01 pm Post subject: |
|
|
druggo wrote: | I'am using fcitx5 with fcitx-rime in Gnome, input works for firefox-bin and google-chrome-beta,
my settings :
Code: | $cat /etc/env.d/02locale
LANG=zh_CN.utf8
XMODIFIERS="@im=fcitx"
XIM=fcitx
XIM_PROGRAM=fcitx
QT_IM_MODULE=fcitx5
GTK_IM_MODULE=fcitx5
|
|
[ebuild NS ] app-i18n/fcitx-4.2.9.8 [5.1.10] USE="cairo%* gtk3%* introspection%* nls%* pango%* table%* xkb%* -debug% -gtk2% -lua% -opencc%" LUA_SINGLE_TARGET="lua5-1%* -lua5-3% -lua5-4%"
[ebuild N ] app-i18n/fcitx-rime-0.3.2-r1
[blocks B ] app-i18n/fcitx:5 ("app-i18n/fcitx:5" is soft blocking app-i18n/fcitx-4.2.9.
[blocks B ] app-i18n/fcitx:4 ("app-i18n/fcitx:4" is soft blocking app-i18n/fcitx-5.1.10)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(app-i18n/fcitx-5.1.10:5/5::gentoo, installed) pulled in by
>=app-i18n/fcitx-5.1.5:5 required by (app-i18n/fcitx-qt-5.1.5-r2:5/5::gentoo, installed) USE="X qt5 qt6 wayland -onlyplugin -staticplugin" ABI_X86="(64)"
>=app-i18n/fcitx-5.1.9:5 required by (app-i18n/fcitx-chinese-addons-5.1.6:5/5::gentoo, installed) USE="cloudpinyin data gui opencc qt5 qt6 webengine -lua -test" ABI_X86="(64)"
app-i18n/fcitx required by @selected
>=app-i18n/fcitx-5.1.6:5 required by (app-i18n/fcitx-configtool-5.1.6-r1:5/5::gentoo, installed) USE="config-qt qt6 -kcm -test" ABI_X86="(64)"
>=app-i18n/fcitx-5.1.5:5 required by (app-i18n/libime-1.1.8:5/5::gentoo, installed) USE="data -doc -test" ABI_X86="(64)"
(app-i18n/fcitx-4.2.9.8:4/4::gentoo, ebuild scheduled for merge) pulled in by
>=app-i18n/fcitx-4.2.9:4 required by (app-i18n/fcitx-rime-0.3.2-r1:4/4::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
app-i18n/fcitx required by @selected
In my environment, app-i18n/fcitx-rime only compatible with fcitx-4 not fcitx-5.
I also tried change /etc/env.d/02locale to
blk161@Asus ~ $ grep -v "^#" /etc/env.d/02locale
LANG="zh_CN.utf8"
XIM=fcitx
XIM_PROGRAM=fcitx
QT_IM_MODULE=fcitx5
GTK_IM_MODULE=fcitx5
blk161@Asus ~ $
Available targets for the LANG variable:
[1] C
[2] C.utf8
[3] en_CA.utf8
[4] en_US
[5] en_US.iso88591
[6] en_US.utf8
[7] POSIX
[8] zh_CN
[9] zh_CN.gb18030
[10] zh_CN.gb2312
[11] zh_CN.gbk
[12] zh_CN.utf8 *
[ ] (free form)
same as before still not work for www-client/firefox-bin-130.0.1 and www-client/chromium-129.0.6668.58 Thunderbird
I am using KDE
Do you know where can find description for XIM, XIM_PROGRAM ? |
|
Back to top |
|
|
druggo Guru
Joined: 24 Sep 2003 Posts: 319 Location: Hangzhou, China
|
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Thu Oct 03, 2024 10:36 pm Post subject: |
|
|
I installed app-i18n/fcitx-rime-5.1.8 after ignore keyword ~amd64.
But I don't know how to make it works. My system is kde plasma 6 on X (not wayland)
I tried to add keyboard "Chinese -mongolian(Manchu) but only can see some strange characters like ᢤᢛ. |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Sun Oct 06, 2024 2:39 am Post subject: |
|
|
weiypan_us wrote: |
I installed app-i18n/fcitx-rime-5.1.8 after ignore keyword ~amd64.
But I don't know how to make it works. My system is kde plasma 6 on X (not wayland)
I tried to add keyboard "Chinese -mongolian(Manchu) but only can see some strange characters like ᢤᢛ. |
do you install the app-i18n/librime? |
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Mon Oct 07, 2024 12:16 am Post subject: |
|
|
donjuanplatinum wrote: | weiypan_us wrote: |
I installed app-i18n/fcitx-rime-5.1.8 after ignore keyword ~amd64.
But I don't know how to make it works. My system is kde plasma 6 on X (not wayland)
I tried to add keyboard "Chinese -mongolian(Manchu) but only can see some strange characters like ᢤᢛ. |
do you install the app-i18n/librime? |
Hi Donjuanplatinum,
Thank you very much! After install app-i18n/librime, it rime shows Chinese characters now. Wondering why https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx does not mention about this package.
Although rime works, same as app-i18n/fcitx-chinese-addons it is still only working for those KDE Plasma 6 native apps not for third parting like www-client/chromium-129.0.6668.58 and firefox and Thunderbird etc.
I am wondering if it is because Fcitx-5 can't efficiently communicate with Chromium?
Recall, after I upgrade to plasma 6, my fcitx is still on 4. I found I can't type Chinese in Konsole, libreoffice but worked fine with www-client/chromium and firefox Then I upgrade it to fcitx-5 by replacing fcitx-cloudpinyin and fcitx-libpinyin with app-i18n/fcitx-chinese-addons-5.1.6. After got onto fcitx-5, things reversed, Chinese input becomes not work on chromium and firefox but works on Konsole, libreoffice. |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Mon Oct 07, 2024 2:27 am Post subject: |
|
|
hi weiypan_us
i think you can try the wayland kde
In fact, my problem is exactly the opposite of yours
my fctix can work on firefox emacs and so on
but cant work on kde native software like konsole |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Mon Oct 07, 2024 2:38 am Post subject: |
|
|
also
did u ran the
|
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Tue Oct 08, 2024 2:40 am Post subject: |
|
|
donjuanplatinum wrote: | hi weiypan_us
i think you can try the wayland kde
In fact, my problem is exactly the opposite of yours
my fctix can work on firefox emacs and so on
but cant work on kde native software like konsole |
what is your fcitx version and plasma version? |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Tue Oct 08, 2024 4:47 pm Post subject: |
|
|
weiypan_us wrote: | donjuanplatinum wrote: | hi weiypan_us
i think you can try the wayland kde
In fact, my problem is exactly the opposite of yours
my fctix can work on firefox emacs and so on
but cant work on kde native software like konsole |
what is your fcitx version and plasma version? |
i update the fcitx to 5 and fcitx-rime to app-i18n/fcitx-rime-5.1.8:5::gentoo
but now i cant input chinese in any window.
my plasma is 6.1.5 |
|
Back to top |
|
|
druggo Guru
Joined: 24 Sep 2003 Posts: 319 Location: Hangzhou, China
|
Posted: Wed Oct 09, 2024 4:34 am Post subject: |
|
|
donjuanplatinum wrote: |
i update the fcitx to 5 and fcitx-rime to app-i18n/fcitx-rime-5.1.8:5::gentoo
but now i cant input chinese in any window.
my plasma is 6.1.5 |
have you install the app-i18n/fcitx-configtool:5[config-qt,kcm] ? _________________ AMD FX-8300 / Loongson-2f (lemote-yeeloong) |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2529
|
Posted: Wed Oct 09, 2024 6:32 am Post subject: |
|
|
weiypan_us wrote: | Hi Donjuanplatinum,
Thank you very much! After install app-i18n/librime, it rime shows Chinese characters now. Wondering why https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx does not mention about this package.
Although rime works, same as app-i18n/fcitx-chinese-addons it is still only working for those KDE Plasma 6 native apps not for third parting like www-client/chromium-129.0.6668.58 and firefox and Thunderbird etc.
I am wondering if it is because Fcitx-5 can't efficiently communicate with Chromium?
Recall, after I upgrade to plasma 6, my fcitx is still on 4. I found I can't type Chinese in Konsole, libreoffice but worked fine with www-client/chromium and firefox Then I upgrade it to fcitx-5 by replacing fcitx-cloudpinyin and fcitx-libpinyin with app-i18n/fcitx-chinese-addons-5.1.6. After got onto fcitx-5, things reversed, Chinese input becomes not work on chromium and firefox but works on Konsole, libreoffice. |
Try running KDE under X11. You should be able to select X11 session from your desktop manager when logging in.
Best Regards,
Georgi |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Wed Oct 09, 2024 9:11 am Post subject: |
|
|
logrusx wrote: | weiypan_us wrote: | Hi Donjuanplatinum,
Thank you very much! After install app-i18n/librime, it rime shows Chinese characters now. Wondering why https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx does not mention about this package.
Although rime works, same as app-i18n/fcitx-chinese-addons it is still only working for those KDE Plasma 6 native apps not for third parting like www-client/chromium-129.0.6668.58 and firefox and Thunderbird etc.
I am wondering if it is because Fcitx-5 can't efficiently communicate with Chromium?
Recall, after I upgrade to plasma 6, my fcitx is still on 4. I found I can't type Chinese in Konsole, libreoffice but worked fine with www-client/chromium and firefox Then I upgrade it to fcitx-5 by replacing fcitx-cloudpinyin and fcitx-libpinyin with app-i18n/fcitx-chinese-addons-5.1.6. After got onto fcitx-5, things reversed, Chinese input becomes not work on chromium and firefox but works on Konsole, libreoffice. |
Try running KDE under X11. You should be able to select X11 session from your desktop manager when logging in.
Best Regards,
Georgi |
Okay, I'll give it a try
but by the way Does the current version of FCITX not support Wayland yet |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2529
|
Posted: Wed Oct 09, 2024 9:28 am Post subject: |
|
|
donjuanplatinum wrote: |
Okay, I'll give it a try
but by the way Does the current version of FCITX not support Wayland yet |
I don't know which way around that it, but I believe is some of the applications work under Wayland, the problem is the others that do not work, don't yet support Wayland, or at least that part of the protocol responsible for the alternative input.
If everything works under X11, then that should be the case. If still some apps don't work, then it would be easier to draw conclusion which doesn't support what.
Best Regards,
Georgi |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Wed Oct 09, 2024 2:27 pm Post subject: |
|
|
logrusx wrote: | donjuanplatinum wrote: |
Okay, I'll give it a try
but by the way Does the current version of FCITX not support Wayland yet |
I don't know which way around that it, but I believe is some of the applications work under Wayland, the problem is the others that do not work, don't yet support Wayland, or at least that part of the protocol responsible for the alternative input.
If everything works under X11, then that should be the case. If still some apps don't work, then it would be easier to draw conclusion which doesn't support what.
Best Regards,
Georgi |
very thank you logrusx |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Wed Oct 09, 2024 2:34 pm Post subject: |
|
|
druggo wrote: | donjuanplatinum wrote: |
i update the fcitx to 5 and fcitx-rime to app-i18n/fcitx-rime-5.1.8:5::gentoo
but now i cant input chinese in any window.
my plasma is 6.1.5 |
have you install the app-i18n/fcitx-configtool:5[config-qt,kcm] ? |
im very thank you ! when i install app-i18n/fcitx-configtool, all the things work well
i can input chinese |
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Wed Oct 09, 2024 8:29 pm Post subject: |
|
|
druggo wrote: | donjuanplatinum wrote: |
i update the fcitx to 5 and fcitx-rime to app-i18n/fcitx-rime-5.1.8:5::gentoo
but now i cant input chinese in any window.
my plasma is 6.1.5 |
have you install the app-i18n/fcitx-configtool:5[config-qt,kcm] ? |
my current USES for app-i18n/fcitx-configtool as below,
* Found these USE flags for app-i18n/fcitx-configtool-5.1.6-r1:
U I
+ + config-qt : Enable fcitx5-config-qt
- - kcm : Enable KDE KCM support
+ + qt6 : Add support for the Qt 6 application and UI framework
- - test : Enable Test
after add kcm, my situation didn't change. |
|
Back to top |
|
|
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 16 Location: China
|
Posted: Thu Oct 10, 2024 3:25 am Post subject: |
|
|
weiypan_us wrote: | druggo wrote: | donjuanplatinum wrote: |
i update the fcitx to 5 and fcitx-rime to app-i18n/fcitx-rime-5.1.8:5::gentoo
but now i cant input chinese in any window.
my plasma is 6.1.5 |
have you install the app-i18n/fcitx-configtool:5[config-qt,kcm] ? |
my current USES for app-i18n/fcitx-configtool as below,
* Found these USE flags for app-i18n/fcitx-configtool-5.1.6-r1:
U I
+ + config-qt : Enable fcitx5-config-qt
- - kcm : Enable KDE KCM support
+ + qt6 : Add support for the Qt 6 application and UI framework
- - test : Enable Test
after add kcm, my situation didn't change. |
do you upgrade your fcitx and rime and plasma
? _________________ 跪敷衽以陈辞兮,耿吾既得此中正
驷玉虬以椉鹥兮,溘埃风余上征 |
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Thu Oct 10, 2024 10:00 pm Post subject: |
|
|
donjuanplatinum wrote: | weiypan_us wrote: | druggo wrote: | donjuanplatinum wrote: |
i update the fcitx to 5 and fcitx-rime to app-i18n/fcitx-rime-5.1.8:5::gentoo
but now i cant input chinese in any window.
my plasma is 6.1.5 |
have you install the app-i18n/fcitx-configtool:5[config-qt,kcm] ? |
my current USES for app-i18n/fcitx-configtool as below,
* Found these USE flags for app-i18n/fcitx-configtool-5.1.6-r1:
U I
+ + config-qt : Enable fcitx5-config-qt
- - kcm : Enable KDE KCM support
+ + qt6 : Add support for the Qt 6 application and UI framework
- - test : Enable Test
after add kcm, my situation didn't change. |
do you upgrade your fcitx and rime and plasma
? |
Before I upgraded to Plasma6 and fcitx5, all were good. Installing latest rime does not change my situation. |
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 124
|
Posted: Wed Nov 27, 2024 3:03 am Post subject: |
|
|
Finally, I solved this issue.
first, I try to move onto wayland, but issue persist,
then from chrome, bring up page chrome://flags/ search for keyword "wayland", change "Preferred Ozone platform" from default to "auto" and change "Wayland text-input-v3" from default to "Enabled". |
|
Back to top |
|
|
|