If you are facing input method issues, try writing QT_IM_MODULE=text-input-unstable-v3 to ~/.local/share/WeChat_Data/portable.env forcing WeChat to use Wayland text-input-v3 protocol.
Search Criteria
Package Details: wechat 1:14-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/wechat.git (read-only, click to copy) |
|---|---|
| Package Base: | |
| Description: | Fixes and optional sandbox for WeChat. |
| Upstream URL: | https://github.com/Kraftland/portable |
| Keywords: | binary qt sandbox universal wechat |
| Licenses: | GPL3 |
| Provides: | wechat-beta-bwrap, wechat-bwrap, wechat-portable, wechat-sandbox-provider, wechat-universal-bwrap, wechat-uos-bwrap, wechat-uos-qt |
| Replaces: | wechat-bwrap |
| Submitter: | Kimiblock |
| Maintainer: | Kimiblock |
| Last Packager: | Kimiblock |
| Votes: | 51 |
| Popularity: | 0.91 |
| First Submitted: | 2024-06-30 11:27 (UTC) |
| Last Updated: | 2026-08-27 11:54 (UTC) |
Dependencies (2)
- portableAUR (portable-legacyAUR, portable-gitAUR, portable-unstableAUR, portableAUR)
- wechat-binAUR
Required by (2)
- plasma-wechat-toggle (requires wechat-universal-bwrap) (optional)
- wechat-bin (optional)
Sources (3)
Kimiblock commented on 2026-09-07 05:27 (UTC)
Kimiblock commented on 2026-09-06 04:19 (UTC)
If you are encountering missing tray icon while using the sandboxed version, try replacing portable with portable-git. WeChat has changed the pattern of tray bus name, and we cannot just allow owning org.kde.* for security reasons.
Kimiblock commented on 2026-09-05 09:18 (UTC)
The latest version of WeChat has brought Portal support for various functions, thus workarounds are not needed for transferring files, taking screenshots etc.
nlsdt commented on 2026-08-28 11:02 (UTC) (edited on 2026-08-28 11:03 (UTC) by nlsdt)
升级到 1:14-1 后,post-transaction hook 报错:
rm: 无法删除 '/usr/share/applications/wechat.desktop': 没有那个文件或目录
错误:命令未能被正确执行
我看了一下,原因应该是 wechat.hook 里:
Exec = /usr/bin/bash -c "rm /usr/share/applications/wechat.desktop && ln -srf /usr/bin/wechat.sh /usr/bin/wechat"
现在包只提供 com.qq.weixin.desktop,旧的 wechat.desktop 根本不存在,rm 返回非零导致 && 短路,后面的 ln 也没执行,钩子就以失败结束。安装本身是成功的,/usr/bin/wechat -> wechat.sh 软链和正确的 desktop 文件都在,功能不受影响,只是每次升级都刷一条报错。
建议把钩子改成容错写法,例如 rm -f /usr/share/applications/wechat.desktop; ln -srf ...,或把 && 换掉。谢谢。
Kimiblock commented on 2026-08-26 23:15 (UTC)
Bubblewrap 0.12.0 introduced a breaking change, please upgrade Portable to at least 18.0.3
Kimiblock commented on 2026-07-20 07:52 (UTC) (edited on 2026-07-20 07:56 (UTC) by Kimiblock)
Hi @huntergrey, 请尝试编辑配置文件关闭 lockdown 模式
Portable 沙盒内的 PID 1 在阻止 syscall 后会在终端输出具体细节:
[Init]: PID 16483 performed illegal syscall: capset on architecture X8664
此外, 也可以前往 repo 创建新的 issue 以便追踪问题.
感谢报告问题.
huntergrey commented on 2026-07-20 06:33 (UTC)
---通过 portable 沙盒启动时必现 SIGSEGV,绕过沙盒直接运行则完全正常
环境 - portable 1:17.0.3-2 - wechat 1:13-1 (wechat-bin 4.1.1.7-1) - kernel 7.0.14-arch1-1 - glibc 2.43+r37+gfdf10644d6ee-1 - Wayland 会话,核显 Intel Arc (Meteor Lake-P),i915/xe 驱动
现象 通过桌面图标 / wechat.sh 走 portable 沙盒启动时,每次都在窗口出现前 SIGSEGV,清空 WeChat_Data 后依然必现。
复现步骤 env _portableConfig=com.qq.weixin PORTABLE_CONF=com.qq.weixin /usr/bin/portable 输出末尾: [Init] Command /opt/wechat/wechat [/opt/wechat/wechat] failed: signal: segmentation fault (core dumped) coredumpctl info 显示崩溃栈顶在 libc.so.6 的 backtrace_symbols 内(即 wechat 自带 crashpad 处理已发生的错误时,处理过程本身又二次 fault),因此看不到真正的原始错误。
已排除的原因 - GPU 加速:加 --disable-gpu 传给应用后依然 SIGSEGV,现象一致。 - 沙盒设备暴露:在 config.toml 的 [privacy] 段临时加 gameMode = "true" 后依然 SIGSEGV。 - 文件损坏:pacman -Qkk wechat wechat-bin 无异常(仅有预期内的 mtime/symlink 差异)。
确认的临时解决方法 完全绕开 portable,直接运行 /opt/wechat/wechat,启动完全正常,进程树全部起来且稳定运行,无任何崩溃。
这说明问题出在 portable 沙盒这一层(很可能是 seccomp 过滤规则没有覆盖到较新内核/glibc 下某个子进程需要的系统调用),而不是 wechat-bin 本身、显卡驱动或数据损坏。
方便的话希望能确认一下是否是 seccomp allowlist 过期导致,谢谢维护!
whitecatkeke commented on 2026-07-20 00:35 (UTC)
@whitecatkeke
感谢。我删除了这个文件安装了WeChat-bin,然后声音和麦克风就回来了。
Kimiblock commented on 2026-07-18 15:44 (UTC)
Hi @whitecatkeke, 看起来问题在于 Pulse Service. 我需要知道如下信息
你在使用何版本的 Pulse (Pulse / PipeWire-Pulse)?
你在使用什么桌面环境 / Wayland 混成器?
你的 Pulse 服务以何种方式启动 (桌面启动 / systemd socket activation)?
由于 mount namespace 的限制, 如果 pulse 服务在沙盒后启动并控制 socket, 或是中途重新启动, 那么沙盒内程序将无法连接到 PulseAudio 服务.
一种解决办法 是在用户登录后用 paplay 播放一个音频并将音量设置为 0 以此激活 Pulse 服务
Pinned Comments
Kimiblock commented on 2026-09-07 05:27 (UTC)
If you are facing input method issues, try writing
QT_IM_MODULE=text-input-unstable-v3to~/.local/share/WeChat_Data/portable.envforcing WeChat to use Wayland text-input-v3 protocol.Kimiblock commented on 2026-02-06 09:47 (UTC)
Notice: Portable has been rewritten in Go, and dropped unsafe mode in the process. Users who disable sandbox are required to do a manual intervention, please pick one of the following:
portable-legacyto continue using the old version of PortableSorry for inconvenience, the unsafe mode is not well tested while porting and we decided to drop it to reduce maintain burden.
Kimiblock commented on 2024-11-13 11:09 (UTC)
若要查看使用手册, 访问 https://wiki.archlinuxcn.org/wiki/WeChat
For user manual and internal document, consult https://wiki.archlinux.org/title/WeChat
st0ne commented on 2024-07-27 16:00 (UTC) (edited on 2024-07-31 04:35 (UTC) by st0ne)
KDE Plasma 添加阴影
1.添加阴影
在微信界面,ALT+F3 -> 更多操作 -> 配置特殊窗口设置 -> 添加属性 -> 添加 外观和修正 下面的 无标题栏和边框 -> 将 初始状态应用 改为 强制,将后面的 是 切换称 否 -> 应用
2.去除标题栏
之后微信就有边框阴影了,但是微信多了个标题栏。
设置 -> 颜色和主题 -> 窗口装饰元素 -> 找到你在用的主题右下角的编辑 -> 切换到 特定窗口优先规则 -> 添加 -> 检测窗口属性... -> 选中微信窗口 直到 匹配正则表达式 那里出现 wechat -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用