'How can use fcitx-pinyin in wechat's docker?
I build an image with wechat.Dockerfile wechat.Dockerfile:
docker build -f wechat.Dockerfile --tag=wechat:0.0.3 .
Have pushed into docker hub,you can pull it .
docker pull yufeiluo/wechat:0.0.3
Run it with:
xhost +
docker run -d --name wechat --device /dev/snd \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/WeChatFiles:/WeChatFiles \
-e DISPLAY=unix$DISPLAY \
-e XMODIFIERS=@im=fcitx \
-e QT_IM_MODULE=fcitx \
-e GTK_IM_MODULE=fcitx \
-e AUDIO_GID=`getent group audio | cut -d: -f3` \
-e GID=`id -g` -e UID=`id -u` yufeiluo/wechat:0.0.3
Now scan it with your wechat app in mobile-phone,you login wechat.There is a problem i can't solve : Switching input methods does not work for my Docker WeChat!I can't type CJK character in the wechat running in docker.
How can rewrite the wechat.Dockerfile to build an image which can use fcitx-pinyin in the wechat's docker image?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
