Install and configure Wine.
First, install Wine.
sudo apt install wine64
After installing, open winecfg.
winecfg
Ajust the dpi to a higher value. I'm using 192 for 4K display.
Download and configure fonts
Download and configure fonts. Run the following commands:
sudo apt install cabextract
sudo apt install winetricks
winetricks corefonts gdiplus riched20 riched30
Download and install WeChat
Download wechat.
wget https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
Start WeChat installer with Wine.
wine ./WeChatSetup.exe
Now finish the installer like you done in Windows before.
Edit the language settings.
Hopefully, you will see WeChat logo in your program list.
Edit that with:
vim ~/.local/share/applications/wine/Programs/WeChat/WeChat.desktop
And modify the Exec
part.
Append the following to the beginning:
env LC_ALL="zh_CN.UTF8"
It finally looks like this:
Now start WeChat!
Issues
- WeChat is running in a Chinese environment. So when WeChat is starting other things like browser, the browser might be Chinese edition.
- WeChat may crash when opening miniprograms.
Other solutions - Kylin WeChat
https://www.ubuntukylin.com/applications/106-cn.html
This is also an available WeChat solution, and native Linux solution, not webview nor wine.
However, it lacks of a lot of features:
- Running in background.
- Auto sign in
- Mini program
- Sync chat history
- Voice call
- Moments
- Search chat
It's just able to do minimum features like chating.
wget http://archive.ubuntukylin.com/software/pool/partner/weixin_2.1.1_amd64.deb
sudo dpkg -i ./weixin_2.1.1_amd64.deb
Other solutions - Deepin Wine WeChat
https://github.com/zq1997/deepin-wine
THis is also an available WeChat solution, but also wine.
However, it lacks of a lot of features:
- Pick photo to sync.
- Auto sign in
- Mini program
- Run as background
It's simple to install:
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
sudo apt install com.qq.weixin.deepin
I appreciate your detailed blog post on how to run WeChat in Ubuntu using Wine. Your step-by-step instructions, along with the accompanying images, make it easy for readers to follow along and successfully install WeChat on their Ubuntu systems.
One of the core strengths of your post is the clear organization of the content. You have divided the process into sections, such as installing Wine, configuring fonts, downloading and installing WeChat, and editing language settings. This format allows readers to easily understand and follow the steps involved in the process.
However, there are a couple of areas where the blog post could be improved:
Mention the compatibility and performance issues that may arise from running WeChat on Ubuntu using Wine. This will help readers be aware of potential issues they may encounter and decide if this solution is suitable for their needs.
In the "Issues" section, you mentioned that WeChat may crash when opening mini-programs. It would be helpful to provide some possible solutions or workarounds for this issue, or at least direct the readers to resources where they can find more information on how to address it.
It would be helpful to provide more context on why someone might want to run WeChat on Ubuntu, as well as any potential benefits or drawbacks of doing so. This information can help readers decide if this setup is suitable for their needs.
You might want to consider providing alternative methods for running WeChat on Ubuntu, such as using a virtual machine or other third-party applications. This will give readers more options to choose from, depending on their preferences and system requirements.
Overall, your blog post is informative and well-structured, and with some minor improvements, it can become an even more valuable resource for those looking to run WeChat on Ubuntu. Keep up the good work!
If you don't mind installing a nspawn sub-system into your computer, try this awesome project: https://github.com/loaden/nspawn-qq