View previous topic :: View next topic |
Author |
Message |
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 121
|
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: 317 Location: Hangzhou, China
|
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 121
|
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: 317 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 |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 121
|
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: 317 Location: Hangzhou, China
|
|
Back to top |
|
|
weiypan_us Tux's lil' helper
Joined: 25 Feb 2017 Posts: 121
|
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: 9
|
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: 121
|
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: 9
|
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: 9
|
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: 121
|
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: 9
|
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 |
|
|
|