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.02
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 .. 22 23 24 25 26 27 28 29 30 31 32 .. 39 Next › Last »

cinhoo commented on 2024-03-14 07:10 (UTC) (edited on 2024-03-14 07:11 (UTC) by cinhoo)

启动失败

Authorization required, but no authorization protocol specified

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

ferstar commented on 2024-03-14 07:05 (UTC)

两个问题:

  1. wayland 用户环境变量不会有QT_IM_MODULE,需要在启动脚本里加一下,不然没法用输入法
if [ -z ${QT_IM_MODULE} ]; then
        env_add QT_IM_MODULE fcitx
fi
  1. KDE6 的缩放有问题,我添加以下启动代码以后正常
case "$XDG_CURRENT_DESKTOP" in
        KDE)
        SCALE_FACTOR=$(kreadconfig6 --group KScreen --key ScaleFactor --default 1.0)
        env_add QT_SCALE_FACTOR ${SCALE_FACTOR}
        ;;
        *)
        env_add QT_AUTO_SCREEN_SCALE_FACTOR ${QT_AUTO_SCREEN_SCALE_FACTOR:-1}
        ;;
esac

希望考虑添加一下,谢谢

7Ji commented on 2024-03-14 06:37 (UTC)

@wcz 不是呀,uos的这几个域名是和版本无关全部cname到xxxx.aliyuncs.com的,不然home的就只能下载到x64的包了。你可以在这个包的根目录跑下python fetch_uos_wechat_release.py看看,龙芯的包的URL可以正常下载到deb来算sha256的

<deleted-account> commented on 2024-03-14 06:36 (UTC)

这个程序里面的鼠标和kde系统设置的不一样怎么解决?

我的光标主题是在设置主题里面下载的,我手动把~/.icons挂载进去光标就同步了

wcz commented on 2024-03-14 06:33 (UTC)

建议把wechat-univerisal的deb包下载地址从

_deb_url_common=https://home-store-packages.uniontech.com/appstore/pool/appstore/c/com.tencent.wechat/com.tencent.wechat_"${pkgver}"

改为

_deb_url_common=https://pro-store-packages.uniontech.com/appstore/pool/appstore/c/com.tencent.wechat/com.tencent.wechat_"${pkgver}"

否则龙架构的包下载不下来。

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 查看

7Ji commented on 2024-03-14 06:18 (UTC)

@wcz 谢谢提醒,已经修正,这里算是疏漏,不过URL和sha256sum应该是正确的

wcz commented on 2024-03-14 06:10 (UTC) (edited on 2024-03-14 06:25 (UTC) by wcz)

BUILDPKG在龙架构的支持里面,deb包名错了。

source_loong64=(
    "${_deb_stem}_loong64.deb::${_deb_url_common}_arm64.deb"
)

龙架构有新世界和旧世界之分,新世界包名的架构部分是loong64,旧世界是loongarch64。LoongArchLinux是新世界发行版,UOS和麒麟都是旧世界发行版。所以,包名应该是:

source_loong64=(
    "${_deb_stem}_loong64.deb::${_deb_url_common}_loongarch64.deb"
)

sfchen-cs6589043 commented on 2024-03-14 05:57 (UTC)

是否可以参考下 https://github.com/web1n/wechat-beta-flatpak/tree/2403131343 使用该项目 没有该问题

China_YGL commented on 2024-03-14 05:47 (UTC)

@ZeroDegress wechat.sh中加入export QT_IM_MODULE=fcitx后可以使用中文输入法