Open wojiaoliwua opened 2 years ago
same here from linux mint 19.3,
from the index.md
it should be supported,
maybe its our docker being outdated, or the input setup: IBus or fcitx...
REF: https://github.com/huan/docker-wechat/blob/main/README.md?plain=1#L232
@wojiaoliwua
download the script: https://github.com/huan/docker-wechat/blob/main/dochat.sh#L107-L109
set the environment variables according to your input setup, my case it's fcitx
..
-e XMODIFIERS=@im=fcitx \ -e GTK_IM_MODULE=fcitx \ -e QT_IM_MODULE=fcitx \
rename the script as wechat
move the script to your path...
run wechat
...this solved the 中文 input problem on my side.
I am using fcitx5 and found that I need to replace "fcitx" with "fcitx5" in all those environment variables.
I use ibus pinyin , no problem for docker wechat
I am using fcitx5 and found that I need to replace "fcitx" with "fcitx5" in all those environment variables.
I also using fcitx5 and added the config in the dochat.sh
file as follows:
docker run \
...
\
-e XMODIFIERS=@im=fcitx5 \
-e GTK_IM_MODULE=fcitx5 \
-e QT_IM_MODULE=fcitx5 \
\
...
but when I run the dochat.sh
file to open the WeChat app, I still cannot use the chinese input method of fcitx5.
By the way, in firefox browser I can normally input the chinese by fcitx5.
I am using fcitx5 and found that I need to replace "fcitx" with "fcitx5" in all those environment variables.
I also using fcitx5 and added the config in the
dochat.sh
file as follows:docker run \ ... \ -e XMODIFIERS=@im=fcitx5 \ -e GTK_IM_MODULE=fcitx5 \ -e QT_IM_MODULE=fcitx5 \ \ ...
but when I run the
dochat.sh
file to open the WeChat app, I still cannot use the chinese input method of fcitx5. By the way, in firefox browser I can normally input the chinese by fcitx5.
however, when replace the fcitx5
to fcitx
in the dochat.sh
file, and then reload the dochat app, then Chinese input method will be used normally.
docker run \
...
\
-e XMODIFIERS=@im=fcitx \
-e GTK_IM_MODULE=fcitx \
-e QT_IM_MODULE=fcitx \
\
...
I find chinese input method,sougou pinyin cannot use, we can only use english input method