WeChat - ArchWiki

Jump to content

# WeChat

1 language

- 中文（简体）

From ArchWiki

Related articles

- Wine
- Deepin-wine

Connecting over a billion people around the world, WeChat is a free messaging and calling app available on iOS, Android, Windows, and MacOS.

This article introduces methods of installing WeChat on Arch Linux.

## Native Linux version

Wechat has released an official new version for Linux, which supports Mini Programs, Moments, VoIP and more. It is provided by wechat-binAUR.

wechatAUR provides optional sandbox support and other fixes for input method, HiDPI, background portal, hybrid GPU workarounds and more. Extra path can be exposed to the sandbox by environment variable bwBindPar.

XMODIFIERS environment variable is required for this package to use input method, which currently supports Fcitx5, iBus and SCIM (untested). Consult the respective pages for their configuration.

There are unofficial Flatpak packages for Wechat: [1] and [2].

wechat-universal-bwrapAUR is based on the now defunct wechat-uos-qt. Users can copy `~/Documents/xwechat_files` into `~/.local/share/WeChat_Data/Documents` if automatic migration fails.

## Virtual machine

You can install Windows system in virtual machines such as VMware or VirtualBox to use WeChat.

## Wine

Note: At present, all the Mini Program function of Wine-based WeChat are not available, and pictures larger than a certain size cannot be sent. For details, please refer to here.

### Installation

The compatibility layer Wine can be used to run WeChat within Linux.

In addition, it is also provided by deepin-wine-wechatAUR[broken link: package not found] (without patch), which is a Wine container configured for Arch. The WeChat version is the latest official version.

#### From archlinuxcn repository

If the WeChat shadow window is displayed on top of other windows during use, you can try to use wine-for-wechat in the archlinuxcn repository. This version of Wine uses a patch for WeChat shadow windows.

Besides, it is recommended to install, run, and configure WeChat using wine-wechat-setup. Note that WeChat installer needs to be downloaded manually.

#### Deepin-wine WeChat

Install the com.qq.weixin.deepinAUR package, or com.qq.weixin.sparkAUR from Spark Store. There are other deepin wine related packages such as com.qq.weixin.work.deepinAUR for Weixin Work. See Deepin-wine for detail.

#### Run in a container

docker-wechat run WeChat wine application in a Docker container.

### Configuration

#### HiDpi configuration

The font is very small on high dpi screen. To set wine dpi configuration:

1. Open winecfg. Take deepin-wine-wechatAUR[broken link: package not found] as an example, change `WINEPREFIX` and `deepin-wine6-stable` accordingly:

       $ WINEPREFIX=~/.deepinwine/Deepin-WeChat/ deepin-wine6-stable winecfg

2. Click on the Graphics tab, change Screen resolution to your actual dpi.
3. Start Wechat, enable Adapt to system scale (设置-->通用设置-->适配系统缩放比例).

## Electron version for UOS

This article or section is being considered for removal.

Reason: Package was deleted. Unless alternatives like electronic-wechat-uos-binAUR or electronic-wechatAUR are drop-in replacements, this section should be removed too. (Discuss in Talk:WeChat)

wechat-uosAUR[broken link: package not found] provide the old electron app released for UOS.

Note: The original UOS package will only run in UOS professional. To mimic this environment, this package changes `os-release` and `lsb-release` through bubblewrap.
Category:

- Internet applications

Hidden categories:

- Pages with broken package links
- Sections flagged with Template:Remove