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: 4.18
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

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 39 Next › Last »

Fustigate commented on 2024-05-11 07:38 (UTC)

不能群組通話

sunuxi commented on 2024-05-08 04:15 (UTC) (edited on 2024-05-08 04:26 (UTC) by sunuxi)

@7Ji: 谢谢!还有两个问题: 1、怎样修改聊天记录的存储位置?我把desktop文件改成了

Exec=env WECHAT_DATA_DIR='/mnt/f-others/WeChat Files/' wechat-universal %u

新路径也正常自动生成了目录,但里边一直是空的。

2、整个窗口大小是不是不能调整?我是wayland环境,好像只能小范围拖动好友列表框和消息框中间的那条线,整个窗口拖动无法调整大小。

7Ji commented on 2024-05-08 02:00 (UTC) (edited on 2024-05-08 02:00 (UTC) by 7Ji)

@sunuxi

我的笔记本是双系统,现在用的是deepin-wine-wechat,linux下挂载windows分区,和windows下的微信共用一个文件夹存储文件,解决两个系统聊天记录一致的问题。请问这个版本可以设置吗?

不可以,这个微信客户端用的数据保存格式和Win版本不一致

@mdmbct

你们有没有遇到收到消息霸道的直接弹出主窗口,系统是manjaro-gnome。

Arch + KDE 并没有问题

sunuxi commented on 2024-05-08 01:04 (UTC) (edited on 2024-05-08 02:12 (UTC) by sunuxi)

我的笔记本是双系统,现在用的是deepin-wine-wechat,linux下挂载windows分区,和windows下的微信共用一个文件夹存储文件,解决两个系统聊天记录一致的问题。请问这个版本可以设置吗? 刚安装了,好像这个版本的目录结构和windows版本的不一样。而且当我修改了/usr/share/applications/wechat-universal.desktop,把Exec修改为: Exec=env WECHAT_DATA_DIR='/mnt/f-others/WeChat Files/' wechat-universal %u 然后再登录发现在/mnt/f-others/WeChat Files/生成了home和xwechat_files两个目录,但里边都是空的,发消息和文件之后也还是空的,~/.config/wechat-universal/binds.list中也添加了/mnt,可以正常读写里边的文件。

mdmbct commented on 2024-04-25 02:24 (UTC)

你们有没有遇到收到消息霸道的直接弹出主窗口,系统是manjaro-gnome。

seff commented on 2024-04-20 09:07 (UTC) (edited on 2024-04-20 09:14 (UTC) by seff)

@7Ji 没有,我还删除既有文件,重新启动微信仍然是前述目录结构。另外,我使用的系统是 Manjaro。具体的目录结构如下:

tree -L 3 Documents                                                                                     
Documents
├── WeChat
│   ├── home
│   └── xwechat_files
└── xwechat_files
    ├── all_users
    │   ├── config
    │   └── login
    └── WMPF
        └── applet

7Ji commented on 2024-04-20 08:55 (UTC)

@seff 是否有手动创建过软链接?这里的文件分布应该是确实存在xwechat_files里面的:

> tree -L 3 Documents/WeChat_Data
Documents/WeChat_Data
├── home
│   ├── Desktop
│   ├── Documents
│   │   └── WeChat_Data
│   ├── Downloads
│   ├── Pictures
│   ├── Security
│   └── xwechat_files -> /home/nomad7ji/Documents/WeChat_Data/xwechat_files
└── xwechat_files
    ├── all_users
    │   ├── config
    │   ├── xxxxxx
    │   ├── xxxxxx
    │   └── login
    ├── WMPF
    │   ├── applet
    │   ├── mpfastload
    │   └── music
    └── wxid_xxxxxx
        ├── business
        ├── cache
        ├── config
        ├── db_storage
        ├── msg
        ├── resource
        └── temp

seff commented on 2024-04-20 07:45 (UTC)

~/Documents/WeChat_Data 路径下有 xwechat_files 目录,但没有数据,反而 ~/Documents/xwechat_files 路径下写入了微信账户相关的数据,是否应该写入~/Documents/WeChat_Data/xwechat_files 目录中?

Fingertap commented on 2024-04-17 06:50 (UTC)

消息提示的时候,声音有点破音,有朋友遇到过吗?看视频、开会啥的都是正常的,就微信提示音有问题