docker-wechat icon indicating copy to clipboard operation
docker-wechat copied to clipboard

Input Method PinYin cannot use

Open wojiaoliwua opened this issue 3 years ago • 5 comments

I find chinese input method,sougou pinyin cannot use, we can only use english input method

wojiaoliwua avatar Jan 07 '22 01:01 wojiaoliwua

same here from linux mint 19.3, from the index.md input 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

  1. download the script: https://github.com/huan/docker-wechat/blob/main/dochat.sh#L107-L109
  2. 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 \

  1. rename the script as wechat move the script to your path...

run wechat

...this solved the 中文 input problem on my side.

2XL avatar Jan 10 '22 14:01 2XL

I am using fcitx5 and found that I need to replace "fcitx" with "fcitx5" in all those environment variables.

leodream avatar Feb 25 '22 15:02 leodream

I use ibus pinyin , no problem for docker wechat

khewweifeng avatar Jul 16 '22 12:07 khewweifeng

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.

Thesoul20 avatar May 11 '23 04:05 Thesoul20

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 \
    \
   ...

Thesoul20 avatar May 21 '23 10:05 Thesoul20