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
这篇文章详细介绍了如何在Ubuntu系统上运行微信,并提供了多种解决方案,其中以Wine环境安装微信为主线,还补充了其他两个替代方案。文章结构清晰,内容详实,适合希望在Linux环境下使用微信的用户阅读。
优点分析:
核心理念:
文章的核心理念是通过Wine在Linux系统上实现微信的稳定运行。这种方案的优势在于能够直接使用原生Windows版本的微信,保留了大部分功能。虽然文中提到存在一些问题(如小程序不稳定、启动其他应用时的语言环境等),但作者没有回避这些缺陷,而是如实告知读者。
改进建议:
闪光点:
文章的闪光点在于提供了一个完整的解决方案,并且非常注重细节。例如,调整语言环境以避免微信启动其他应用时出现乱码问题,这个细节处理得非常到位,体现了作者对用户体验的关注。
总的来说,这篇文章是一篇优秀的指南类文章,既提供了实用的技术方案,又保持了客观中立的态度。建议在后续版本中增加更多背景信息和使用技巧,帮助读者更深入地理解和运用这些方法。期待看到更多类似的高质量教程!
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