DoWork /dɑɑˈwɜːk/ 盒装企业微信
DoWork (盒装企业微信) is a Dockerized WeChat Work (企业微信) PC Windows Client for Linux.
Image Credit: Docker 101 + Icon Finder, and Ps-ed by Ruoxin Song
Usage
WeChat Work PC will be started on your Linux desktop by running the following one-line command:
curl -sL https://raw.githubusercontent.com/huan/docker-wxwork/master/dowork.sh | bash
Just copy/paste the above one-line command to your terminal and press Enter. Then the WeChat Work PC should appear in your XWindows desktop shortly.
Features
It just works out-of-the-box with one-line of shell command!
- Input/Display Chinese characters perfectly.
Requirements
- Ubuntu is recommended. DoWork was developed with the Ubuntu Desktop 19.10.
- Other Linux distributions: might be able to support
- Docker (run
sudo apt update && apt install docker.io
to install Docker for Ubuntu users)
Environment Variables
DOWORK_DPI
DPI Scale Factors for graphic screen resolution.
DPI | Scale factor % |
---|---|
96 | 100 |
120 | 125 |
144 | 150 |
192 | 200 |
Default: 120
DOWORK_SKIP_PULL
If you do not want to pull docker image for the latest version at startup everytime, you can set DOWORK_SKIP_PULL
environment variable.
curl -sL https://raw.githubusercontent.com/huan/docker-wxwork/master/dowork.sh \
| DOWORK_SKIP_PULL=true bash
In case you have downloaded dowork.sh
:
DOWORK_SKIP_PULL=true ./dowork.sh
DOWORK_DEBUG
Show more debug log messages.
curl -sL https://raw.githubusercontent.com/huan/docker-wxwork/master/dowork.sh \
| DOWORK_DEBUG=true bash
For Hackers
If you want to control everything by yourself, for example, open multiple WeChat Work PC client on your desktop; then, you might want to inspect the dowork.sh in our repository and try the following docker command:
docker run \
--name DoWork \
--rm \
-i \
\
-v "$HOME/DoWork/WXWork/":'/home/user/WXWork/' \
-v "$HOME/DoWork/Applcation Data":'/home/user/.wine/drive_c/users/user/Application Data/' \
-v /tmp/.X11-unix:/tmp/.X11-unix \
\
-e DISPLAY \
\
-e XMODIFIERS=@im=fcitx \
-e GTK_IM_MODULE=fcitx \
-e QT_IM_MODULE=fcitx \
-e GID="$(id -g)" \
-e UID="$(id -u)" \
\
--ipc=host \
--privileged \
\
zixia/wxwork
Modify it whatever you want to fulfill your needs.
Known Issues
- In-WeChat Browser does not work
To-do List
- Automatically install WeChat Work from .EXE installer when building the Dockerfile. (Test Automation tools might be needed)
- Monitor WeChat Work version publications so that we can publish the same version number of the docker image with it.
FAQ
1 System Tray Icon with Gnome Desktop
Install Gnome Extension: Top Icons Plus Git
Links
History
master
v0.1 (Feb 17, 2020)
Project created.
Thanks
See Also
- DoChat /dɑɑˈtʃæt/ 盒装微信: Dockerized WeChat(微信) PC Windows Client for Linux
- 同类项目:用docker跑企业微信
Author
Huan LI (李卓桓) [email protected]
Copyright & License
- Code & Docs © 2020-now Huan LI <[email protected]>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons