Package Details: wechat-universal-bwrap 4.0.1.11-1

Git Clone URL: https://aur.archlinux.org/wechat-universal-bwrap.git (read-only, click to copy)
Package Base: wechat-universal-bwrap
Description: WeChat (Universal) with bwrap sandbox
Upstream URL: https://linux.weixin.qq.com/
Licenses: GPLv3, proprietary
Conflicts: wechat-universal
Provides: wechat-universal
Replaces: wechat-beta, wechat-beta-bwrap
Submitter: 7Ji
Maintainer: 7Ji (leaeasy)
Last Packager: 7Ji
Votes: 129
Popularity: 7.99
First Submitted: 2024-03-14 03:09 (UTC)
Last Updated: 2024-12-24 07:50 (UTC)

Pinned Comments

shilka commented on 2025-02-13 11:08 (UTC)

@dazuixia @lyhokia @swimming03 你们是否也使用了非GNOME/KDE的其他wayland WM/DE? 又研究了一下这个问题,如果不使用bwrap沙盒直接执行wechat是可以的,排除了wechat本身的问题。我认为问题出在bwrap、xwayland的配合和调用上面,导致微信无法在xwayland中启动。我使用的WM是Hyprland,推测可能和各个WM/DE有一定的关系。目前我找到一个可行的缓解方式,安装:xwayland-satellite,并提前执行这一程序,之后正常启动wechat-universal。

@7Ji 如果其他人也可以缓解,烦请置顶一下这个解决方案,或者如果您很熟悉bwrap,是否可以看看通过某些参数解决它和xwayland的交互问题。

7Ji commented on 2024-03-14 06:21 (UTC) (edited on 2024-12-26 09:08 (UTC) by 7Ji)

本软件包在Github上亦有仓库: https://github.com/7Ji-PKGBUILDs/wechat-universal-bwrap/ (仓库未启用issues,有问题请直接在此页面提出)

各位如有改进意见,欢迎在Github仓库页提交PR :)

抓取新版本的脚本和PKGBUILD在同一层。执行python fetch_uos_wechat_release.py获取UOS仓库内的重打包版本,执行./fetch_tencent_wechat_release.sh获取腾讯官方的版本。如果发现软件过期,请善用本界面的标记过期功能。:)


默认配置下,只有~/Documents/WeChat_Data/home 作为容器内的~,其他宿主文件和文件夹均不暴露在容器内

可以编写~/.config/wechat-universal/binds.list来设置更多的被暴露到容器内的文件/文件夹,每行一个路径,绝对路径或相对于~的相对路径


要将微信文件的主要路径修改至 ~/Documents/WeChat_Data 外的其他路径,请设置环境变量 WECHAT_DATA_DIR,同理为绝对路径或相对于~的相对路径


更多参数与环境变量,请在命令行输入 wechat-universal --help 查看

Latest Comments

1 2 3 4 5 6 .. 38 Next › Last »

swimming03 commented on 2025-02-28 09:40 (UTC)

为啥在启动了 xwayland-satellite 后,发现接受的文件汉字自动给我过滤了呀?传文件的时候只要文件名带汉字,也被过滤了,啥情况呀

shilka commented on 2025-02-28 05:43 (UTC)

@ystyle 可以在不启动satellite的时候,先启动别的xwayland程序,最后启动satellite+微信。还有个办法我实测正常:改用appimage那个微信包,如果希望保留聊天记录,在home下建立两个软链接.xwechatxwechat_files,指向目前bwrap的沙盒目录下对应目录就可以。如果希望继续用沙盒,可以自己用firejail配置一下沙盒规则, @swimming03 好像最近的版本做了一些变化,目前我别的都正常。在github向hyprland提交bug的时候,开发者建议删除所有Hyprland相关环境变量(就是wiki里面关于为qt、gtk程序设置的那些环境变量),删除之后我这里除了bwrap下的微信,都恢复正常了。

Eitetsu commented on 2025-02-27 09:14 (UTC)

不显示fcitx的输入法候选词框。

平台是sway+fcitx5,运行在xwayland下。

在其他能唤起输入法的应用里,貌似都是可以正常显示。 印象里最开始的时候是正常显示的,但当时系统更新了好几次没重启过,重启了之后就不显示了。所以不太确定具体是什么时候出现的这个问题。。。

ystyle commented on 2025-02-25 03:41 (UTC)

用了xwayland-satellite会很不稳定, 崩溃会导致所有的xwayland崩溃, 问题是还很频繁...

swimming03 commented on 2025-02-24 07:39 (UTC)

@shilka 上周用的好好的,周一来了更新了一下,我的也有问题,而且感觉好像最新的hyprland好像及其不稳定,在使用kitty的时候,经常崩溃。。。。我切回到了kde,没时间研究了

shilka commented on 2025-02-24 07:18 (UTC)

@7Ji 我用wechat-appimage这个包加或不加firejail测了一下,在Hyprland下都是正常的。看起来问题像是WM和bwrap某些隐秘的问题碰到了一起。

shilka commented on 2025-02-24 07:12 (UTC)

@swimming03 不客气,你用xwayland-satellite打开微信。有遇到打开后,点击搜索或右键弹出失效问题么?

swimming03 commented on 2025-02-20 02:38 (UTC)

@shillka 是的,安装后已经解决,我的确是yay仓库里面的hyprland的版本,刚才去github上转了一圈,0.47.2的版本都有这个问题,目前情况好像一直没有修复,但是的确安装并运行xwayland-satellite 后恢复正常,非常感谢🙏🏻

ihipop commented on 2025-02-19 02:34 (UTC) (edited on 2025-02-19 02:40 (UTC) by ihipop)

有需要测试新版多开功能的 可以从仓库下载测试版的的启动器

sudo wget 'https://github.com/7Ji-PKGBUILDs/wechat-universal-bwrap/raw/refs/heads/master/wechat-universal.sh' -O $(readlink -f $(which wechat-universal))

用法

wechat-universal --multiple 小号1
wechat-universal --multiple 小号2

具体见 https://github.com/7Ji-PKGBUILDs/wechat-universal-bwrap/pull/16#issuecomment-2665309241

shilka commented on 2025-02-18 12:40 (UTC)

@proitheus I report that issue :-). My friend, please be cautious about that before we can confirm it at next release of hyprland. I've tried rollback the hyprland and aquamarine to previews version but nothing help. Maybe some other things changed at the same time.