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: 130
Popularity: 3.77
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 .. 16 17 18 19 20 21 22 23 24 25 26 .. 39 Next › Last »

haword commented on 2024-03-21 02:19 (UTC)

在两台龙架构电脑上试了下都会缺少libtiff.so.5,需要手动添加到/usr/lib下面才可以正常启动

7Ji commented on 2024-03-20 09:16 (UTC)

@archief

用户 archief [1] 在软件包 wechat-universal-bwrap [2] 下进行了如下评论:

感谢大佬的无私贡献,当前版本弹出扫码窗口后就无反应是什么情况,log就几行,后面不动了

Workaround for fcitx applied Hint: Custom binds could be declared in '~/.config/wechat- universal/binds.list', each line a path, absolute or relative to your HOME libpng warning: iCCP: known incorrect sRGB profile Failed to create secure directory (/run/user/1000/pulse): Read-only file system

请问问题解决了吗?如果解决了,请不要删评,可以修改原回复的。

@yangrq

fcitx5的缩放是全局都无效,还是只在微信上无效?如果是全局的话,可能并不适合在这里提问?

archief commented on 2024-03-20 08:48 (UTC) (edited on 2024-03-26 07:44 (UTC) by archief)

感谢大佬的无私贡献,当前版本弹出扫码窗口后就无反应是什么情况,log就几行,后面不动了,桌面是openbox

Workaround for fcitx applied
Hint: Custom binds could be declared in '~/.config/wechat-universal/binds.list', each line a path, absolute or relative to your HOME
libpng warning: iCCP: known incorrect sRGB profile
Failed to create secure directory (/run/user/1000/pulse): Read-only file system

点击 仅传输文件

Failed to call portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface ?org.freedesktop.portal.OpenURI? on object at path /org/freedesktop/portal/desktop

@7Ji 问题已解决,通过翻阅以前的comment发现通过设置nameserver为8.8.8.8后解决问题,感谢大佬回复

yangrq commented on 2024-03-20 08:21 (UTC) (edited on 2024-03-20 08:21 (UTC) by yangrq)

请问fcitx5的缩放怎么调?为了防止xwayland分数倍缩放的模糊我在hyprland配置里关闭了缩放, 通过环境变量控制GTK等应用的缩放

xwayland {
  force_zero_scaling = true
}

# GTK apps
env = GDK_SCALE,2
# QT apps
env = QT_SCREEN_SCALE_FACTORS,2

效果是好的,微信也是不糊的,fcitx5也可以用,但是输入法窗口超级小,搜了一下没找到怎么单独 控制fcitx5的缩放

roukaixin commented on 2024-03-20 04:35 (UTC)

语音播放没有声音

wcz commented on 2024-03-19 13:15 (UTC)

@7Ji 感谢对龙架构的支持!经过测试,这样的改动在LoongArchLinux上可以正常使用!

douglarek commented on 2024-03-19 03:32 (UTC)

@kaikai99 wayland 还是 x11,如果是 x11 ,我使用的 kde 6 + fcitx5 没问题,感觉这个和软件本身相关性不大。

kaikai99 commented on 2024-03-19 02:39 (UTC)

在archlinux+xfce+fcitx5 环境下无法输入中文 在archlinux+hyprland+fctix5 环境下可以输入中文

作者这个问题还得看看那里配置不对!

7Ji commented on 2024-03-19 02:12 (UTC) (edited on 2024-03-19 02:35 (UTC) by 7Ji)

@douglarek 抱歉,尽管liblol放在depends_loong64里,为loong64架构专属依赖,但似乎AUR助手会当成普通依赖在其他架构上一并拉取。我会把它转而放到optdepends_loong64,请暂时直接用makepkg打包,makepkg不会像AUR助手一样拉取这个依赖

Edit: 哪怕放optdends_loong64 也会让yay报错,这个应该是yay的bug,为了避免影响x64的用户,我把整个依赖项给删了

douglarek commented on 2024-03-19 02:05 (UTC) (edited on 2024-03-19 02:05 (UTC) by douglarek)

:: Resolving dependencies...
error: could not find all required packages:
    liblol (wanted by: wechat-universal-bwrap)

似乎 arch 官方仓库删除了这个库。