好的,感谢老哥回复
Search Criteria
Package Details: wechat-universal-bwrap 4.0.1.11-1
Package Actions
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: | 128 |
Popularity: | 6.96 |
First Submitted: | 2024-03-14 03:09 (UTC) |
Last Updated: | 2024-12-24 07:50 (UTC) |
Dependencies (19)
- at-spi2-core (at-spi2-core-gitAUR)
- bubblewrap (bubblewrap-gitAUR, bubblewrap-overlayfsAUR, bubblewrap-suid)
- flatpak-xdg-utils
- jackAUR (jack2-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-gitAUR, jack2, pipewire-jack)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libxcomposite
- libxdamage
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- libxrandr (libxrandr-gitAUR)
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, mesa-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amber)
- nss (nss-hgAUR)
- pango (pango-gitAUR)
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xdg-desktop-portal (xdg-desktop-portal-gitAUR)
- xdg-user-dirs
- patchelf (patchelf-gitAUR) (make)
Required by (0)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 29 30 31 32 33 34 35 36 37 38 Next › Last »
<deleted-account> commented on 2024-03-12 02:54 (UTC)
fengxing2023 commented on 2024-03-12 02:18 (UTC)
@archblue xcb 不用root , 终端执行 xhost + 就可以了。
lihe07 commented on 2024-03-12 00:21 (UTC)
@archblue 不能注释掉,直接删。注释掉之后就syntax了,所以bwrap返回了帮助。
archblue commented on 2024-03-11 13:17 (UTC)
@lihe07 这一行注释掉也无法启动
$wechat-beta
usage: bwrap [OPTIONS...] [--] COMMAND [ARGS...]
--help Print this help
--version Print version
--args FD Parse NUL-separated args from FD
--unshare-all Unshare every namespace we support by default
--share-net Retain the network namespace (can only combine with --unshare-all)
--unshare-user Create new user namespace (may be automatically implied if not setuid)
--unshare-user-try Create new user namespace if possible else continue by skipping it
...
另外,wechat-beta用root启动成功,这个软件是必需用root吗?
lihe07 commented on 2024-03-11 12:34 (UTC) (edited on 2024-03-11 12:37 (UTC) by lihe07)
@xyz_max; @archblue 对于X11以非root运行提示
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.
情况的,删除 --bind "${WECHAT_HOME_DIR}" "${HOME}" \
这一行可以缓解。
archblue commented on 2024-03-11 12:18 (UTC)
启动报错,xcb相关包都装了还是不行,有碰到同样问题的吗?
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0.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.
[0311/201618.786954:ERROR:directory_reader_posix.cc(42)] opendir /home/archblux/.xwechat/crashinfo/attachments/7568b2a9-b970-48a6-a020-a788731ec91c: No such file or directory (2)
wszqkzqk commented on 2024-03-11 11:12 (UTC) (edited on 2024-03-11 13:01 (UTC) by wszqkzqk)
更改了缩放逻辑以后在我的KDE Wayland下又没有按照正常缩放了,KDE Wayland可能不应该使用kreadconfig6 --group KScreen --key ScaleFactor --default 1.0
,默认的就是正常的
不知道是不是因为没有考虑KDE目前可以根据显示器指定缩放大小还是其他原因(我记得当初切换wayland的时候缩放大小变成了开箱即用),我这里不加有关缩放的运行参数会使用系统的配置缩放到合适大小,而~/.config/kdeglobals
文件中根本没有ScaleFactor
项,因此实际上那条获取缩放的命令会fallback到1.0
是否应该重新考虑这条参数该不该加?如果无论如何都会影响一方的话可能不额外加参数是更合适的?🤔
XDwanj commented on 2024-03-11 09:16 (UTC)
@cyo57 这还真不是包主的问题,kreadconfig6
应该是kde6的命令,目前kde6已经进入arch的主线,manjaro没那么快,你可以修改 kreadconfig6
为 kreadconfig5
试试
cyo57 commented on 2024-03-11 09:09 (UTC) (edited on 2024-03-12 06:03 (UTC) by cyo57)
manjaro KDE
/usr/bin/wechat-beta: 行 13: kreadconfig6: 未找到命令
bwrap: execvp GTK_USE_PORTAL: No such file or directory
不知道该怎么运行了
按照
XDwanj 在 2024-03-11 09:16 (UTC) 发表了评论
@cyo57 这还真不是包主的问题,kreadconfig6 应该是kde6的命令,目前kde6已经进入arch的主线,manjaro没那么快,你可以修改 kreadconfig6 为 kreadconfig5 试试
尝试了一下kde5是可以的@XDwanj
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
查看