Wechat Universal

Edit Package wechat-universal-bwrap
https://linux.weixin.qq.com/

WeChat Qt, the so-called universal version

Source Files
Filename Size Changed
_multibuild 0000000065 65 Bytes
_service 0000000622 622 Bytes
icons.tar.gz 0000024764 24.2 KB
wechat-universal-bwrap.changes 0000002043 2 KB
wechat-universal-bwrap.rpmlintrc 0000000494 494 Bytes
wechat-universal-bwrap.spec 0000004680 4.57 KB
wechat-universal.changes 0000000786 786 Bytes
wechat-universal.desktop 0000000461 461 Bytes
wechat-universal.rpmlintrc 0000000494 494 Bytes
wechat-universal.sh 0000017089 16.7 KB
wechat-universal.spec 0000004100 4 KB
wechat-universal_4.1.0.10_aarch64.deb 0196015840 187 MB
wechat-universal_4.1.0.10_x86_64.deb 0221182460 211 MB
Comments 8

Ruobing Wu's avatar

wechat-universal.sh 的190 行 /etc/alternatives/awk 并不存在于opensuse TW 的gawk和mawk里 会直接因为不存在 /etc/alternatives/awk 而失败


Sheng Huang's avatar

尝试将 --ro-bind 替换成 --ro-bind-try 看看


Son's avatar

The SELinux has blocked wechat from starting.

To make it start, according to https://forum.suse.org.cn/t/topic/17204/7, we might need to make the changes:

  • add execstack into required packages.
  • run the command as the %POST
execstack -c libandromeda.so
execstack -c libowl.so
execstack -c libvoipCodec.so

The three files are in /opt/wechat.


Sheng Huang's avatar

已更新 “微信” 到 4.1.0.10,并修复该问题


Son's avatar

May I ask about the difference between the bwrap and the other one? Which one is recommended? Thanks.


Sheng Huang's avatar

wechat-universal 是在本机上运行 “微信”。

wechat-universal-bwrap 是在沙盒环境运行 “微信”,它可以杜绝 “微信” 在你的 home 目录下 “随地大小便”,另外它还可以多开 “微信”。

wechat-universal-bwrap 缺点是文件传输比较麻烦。你无法直接通过拖动文件或图片到聊天窗口直接发送,你需要将要发送在文件先手动放置到沙箱目录中,比如 $HOME/Documents/WeChat_Data/home/ 再在微信点击 “文件图标” 找到你刚刚放入的文件,选择并发送。(接收文件也是这样,无法拖动保存)

怎么选看个人,我个人正在用 wechat-universal-bwrap


Crepuscular Hana's avatar

Refs: https://aur.archlinux.org/packages/wechat-universal-bwrap#comment-1019320

使用 Hyprland 可以通过以上 issue 中描述的命令行启动,稍作修改即可,即

Exec=env QT_SCALE_FACTOR=1.6 /opt/wechat-universal/RunEnv/usr/bin/start.sh --bind /tmp/.X11-unix/X0

但是无法使用 Fcitx 5 (即便使用 --ime 指定 workaround )

该 Comment 仅供 openSUSE Tumbleweed Hyprland 用户用作 Workaround ,微信可能尚不支持 Wayland ,因此该问题不应由打包者承担责任


openSUSE Build Service is sponsored by