Package Details: wechat 1:5-1

Git Clone URL: https://aur.archlinux.org/wechat.git (read-only, click to copy)
Package Base: wechat
Description: Fixes and optional sandbox for WeChat.
Upstream URL: https://github.com/Kraftland/portable
Keywords: binary qt sandbox universal wechat
Licenses: GPL3
Provides: wechat-beta-bwrap, wechat-bwrap, wechat-portable, wechat-sandbox-provider, wechat-universal-bwrap, wechat-uos-bwrap, wechat-uos-qt
Replaces: wechat-bwrap
Submitter: Kimiblock
Maintainer: Kimiblock
Last Packager: Kimiblock
Votes: 47
Popularity: 4.70
First Submitted: 2024-06-30 11:27 (UTC)
Last Updated: 2025-01-20 09:44 (UTC)

Dependencies (2)

Required by (2)

Sources (2)

Pinned Comments

Kimiblock commented on 2024-12-31 16:40 (UTC)

WeChat will soon split into 2 packages. While wechat-bin will be the new "vanilla" version, this package will revert back to the original state and automatically set env vars for input method, HiDPI and more. The sandbox will still remain optional in this package, though.

Kimiblock commented on 2024-11-13 11:11 (UTC) (edited on 2025-02-07 07:10 (UTC) by Kimiblock)

右键应用程序图标可与微信共享文件. 其将被放置在沙盒的 ~/Shared 中.

WeChat_Data/portable.env 中的环境变量将会自动导入至微信.

不支持纯 Wayland 环境, 微信并未构建 Wayland 模块.

Kimiblock commented on 2024-11-13 11:09 (UTC)

若要查看使用手册, 访问 https://wiki.archlinuxcn.org/wiki/WeChat

For user manual and internal document, consult https://wiki.archlinux.org/title/WeChat

st0ne commented on 2024-07-27 16:00 (UTC) (edited on 2024-07-31 04:35 (UTC) by st0ne)

KDE Plasma 添加阴影

1.添加阴影

在微信界面,ALT+F3 -> 更多操作 -> 配置特殊窗口设置 -> 添加属性 -> 添加 外观和修正 下面的 无标题栏和边框 -> 将 初始状态应用 改为 强制,将后面的 是 切换称 否 -> 应用

2.去除标题栏

之后微信就有边框阴影了,但是微信多了个标题栏。

设置 -> 颜色和主题 -> 窗口装饰元素 -> 找到你在用的主题右下角的编辑 -> 切换到 特定窗口优先规则 -> 添加 -> 检测窗口属性... -> 选中微信窗口 直到 匹配正则表达式 那里出现 wechat -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用

Latest Comments

« First ‹ Previous 1 .. 35 36 37 38 39 40 41 42 43 44 45 .. 56 Next › Last »

asterwyx commented on 2024-06-07 02:47 (UTC)

@Kimiblock 我试过了,还是不行。

Kimiblock commented on 2024-06-05 06:50 (UTC)

@asterwyx 尝试编辑 /usr/bin/wechat-uos-qt, 删除以下几行

    -p RestrictNamespaces=~net \
    -p RestrictNamespaces=~pid \
    -p RestrictNamespaces=~uts \
    -p RestrictNamespaces=~ipc \
    -p RestrictAddressFamilies=AF_UNIX \
    -p RestrictAddressFamilies=AF_INET \
    -p RestrictAddressFamilies=AF_INET6 \
    -p RestrictAddressFamilies=~AF_NETLINK \
    -p RestrictAddressFamilies=~AF_PACKET \

asterwyx commented on 2024-06-05 06:34 (UTC)

@Rvn0xsy 我没有遇到过类似的问题,可能是因为我之前参加过uos版本微信的内测,我的账号第一次就可以登陆,你可以按照打包者所说的,先登陆一次wechat-uos试一下。

asterwyx commented on 2024-06-05 06:32 (UTC)

经过调试发现,该问题是xserver对连接的host做了限制导致的。目前看来,执行

xhost +

再启动wechat-uos-qt可以在沙盒中运行,但是会解除xserver的限制,不知道有没有其他的副作用。

Rvn0xsy commented on 2024-06-05 05:45 (UTC)

@asterwyx 你关闭沙盒可以登录吗? 我扫描了二维码没反应

asterwyx commented on 2024-06-05 05:37 (UTC) (edited on 2024-06-05 05:39 (UTC) by asterwyx)

我遇到了相同的问题:

[Info] Removing unused links...
rm: cannot remove '/home/astrea/Documents/xwechat_files': Is a directory
[Info] User defined bwrap options can be set in /home/astrea/.local/share/WeChat_Data/bwrap.optargs
Launching WeChat UOS...
ls: cannot access '/dev/video*': No such file or directory
[Info] /home/astrea/.local/share/WeChat_Data/wechat.env exists
Running as unit: run-u194.service
Press ^] three times within 1s to disconnect TTY.
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.

关闭沙盒之后确实可以运行,想问一下为什么在沙盒中连接不上display,这是个人环境问题吗?

Kimiblock commented on 2024-06-03 08:30 (UTC)

wechat.env 只对微信本体有效, 对启动器无效

Rvn0xsy commented on 2024-06-03 06:51 (UTC)

不好意思,刚刚又尝试了一次,我前面也尝试过关闭沙盒,还是一样的报错:

wechat.env文件中添加了trashAppUnsafe=1环境变量

$ cat /home/**/.local/share/WeChat_Data/wechat.env                               
# Envs
trashAppUnsafe=1
WAYLAND_DISPLAY=
isWeChatEnvPresent=1


$ wechat-uos-qt
[Info] User defined bwrap options can be set in /home/**/.local/share/WeChat_Data/bwrap.optargs
Launching WeChat UOS...
ls: 无法访问 '/dev/video*': 没有那个文件或目录
[Info] /home/**/.local/share/WeChat_Data/wechat.env exists
Running as unit: run-u930.service
Press ^] three times within 1s to disconnect TTY.
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.

Kimiblock commented on 2024-06-03 04:48 (UTC)

@Rvn0xsy 请尝试关闭沙盒