View previous topic :: View next topic |
Author |
Message |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
druggo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Sep 2003 Posts: 318 Location: Hangzhou, China
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
druggo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Sep 2003 Posts: 318 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
|
_________________ HighWayToHell(blog)
https://blog.druggo.org/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
druggo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Sep 2003 Posts: 318 Location: Hangzhou, China
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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? ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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? ![Very Happy :D](images/smiles/icon_biggrin.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
Posted: Mon Oct 07, 2024 2:38 am Post subject: |
|
|
also
did u ran the
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
druggo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Sep 2003 Posts: 318 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] ? _________________ HighWayToHell(blog)
https://blog.druggo.org/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2287
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2287
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
weiypan_us Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Feb 2017 Posts: 122
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
donjuanplatinum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20289492816706b14d26392.png)
Joined: 06 Oct 2024 Posts: 14
|
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
? ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ 跪敷衽以陈辞兮,耿吾既得此中正
驷玉虬以椉鹥兮,溘埃风余上征 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|