Package Details: wechat-key-block 1.0.0.241-34

Git Clone URL: https://aur.archlinux.org/wechat-uos-bwrap.git (read-only, click to copy)
Package Base: wechat-uos-bwrap
Description: Block WeChat's hotkeys
Upstream URL: https://alampy.com/2024/07/15/block-hotkeys-for-wechat-uos/
Keywords: bwrap qt sandbox universal uos wechat
Licenses: CC-BY-SA-4.0
Replaces: wechat-beta-bwrap, wechat-universal-bwrap
Submitter: Kimiblock
Maintainer: Kimiblock (sukanka, SiHuan)
Last Packager: Kimiblock
Votes: 22
Popularity: 0.81
First Submitted: 2024-03-05 15:37 (UTC)
Last Updated: 2024-09-12 02:16 (UTC)

Dependencies (53)

Required by (0)

Sources (14)

Pinned Comments

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 -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用

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

Wiki 位于 https://wiki.archlinuxcn.org/wiki/%E5%BE%AE%E4%BF%A1#%E5%BE%AE%E4%BF%A1_Linux_%E5%8E%9F%E7%94%9F%E7%89%88%E9%87%8D%E6%9E%84

Kimiblock commented on 2024-03-07 15:44 (UTC) (edited on 2024-07-22 01:36 (UTC) by Kimiblock)

Arm 架构由于缺少设备不对稳定性作任何保证, 欢迎测试反馈.

变量 trashAppUnsafe = 1 将会关闭沙盒.

分享文档时, 请先将📃放入数据目录: 右键应用程序图标, 选择 Open WeChat Data 或手动打开 "${XDG_DATA_HOME}"/WeChat_Data (默认为 ~/.local/share/WeChat_Data), 微信会将这个目录作为家目录.

WeChat_Data/wechat.env 中的环境变量将会自动导入至微信 (非启动脚本).

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

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 19 Next › Last »

Kimiblock commented on 2024-05-01 10:58 (UTC) (edited on 2024-05-01 11:03 (UTC) by Kimiblock)

From now on, custom distros that doesn't ship systemd as the init will not be supported.

systemd allows us to bring enhanced sandbox experience

Kimiblock commented on 2024-04-26 12:43 (UTC)

@Freed I have no idea how your X11 session is configured. But right now, you can right click the app icon and select Disable Sandbox to launch it without sandbox protection.

Freed commented on 2024-04-26 12:36 (UTC)

I use lxqt on X11. echo $DISPLAY will return :0.

Kimiblock commented on 2024-04-26 09:43 (UTC)

@Freed do you have any XWayland / X server running and accessible?

Freed commented on 2024-04-20 10:46 (UTC)

Full log:

$ wechat-uos-qt
[Warn] No ${XAUTHORITY} detected! Do you have any X server running?
Launching WeChat UOS...
ls: cannot access '/dev/video*': No such file or directory
[Info] Sourcing env vars...
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.

[0420/184541.472923:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0420/184541.472979:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0420/184541.478373:ERROR:directory_reader_posix.cc(42)] opendir /home/wzy/.xwechat/crashinfo/attachments/7cf5d8b5-86dc-4b3d-aef6-fafd42a77ba8: No such file or directory (2)

Kimiblock commented on 2024-04-20 02:05 (UTC)

@mio-19 Android will probably be ignored since it’s not Arch, but you can post diff and I’ll merge it when I’m free

Kimiblock commented on 2024-04-19 09:42 (UTC)

@Freed try adding a line WAYLAND_DISPLAY= in ~/.local/share/WeChat_Data/wechat.env and post the complete log.

Freed commented on 2024-04-19 07:50 (UTC)

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.

dependencies of Qt is missing?

mio-19 commented on 2024-04-17 15:02 (UTC)

archlinux arm chroot on android,xfce4,执行了一些修改以后可以看到登录界面

其中android内核不支持--unshare为安卓专有的更改

sudo sed -i 's|--unshare-all||g' /usr/bin/wechat-uos-qt
sudo mkdir -p /usr/lib64
sudo sed -i 's|bwrap|bwrap --ro-bind /lib /lib|g' /usr/bin/wechat-uos-qt 
sudo sed -i 's|--symlink usr/lib /lib||g' /usr/bin/wechat-uos-qt 
 mkdir -p "${XDG_RUNTIME_DIR}/pulse"

mio-19 commented on 2024-04-17 14:54 (UTC)

archlinux arm,测试bwrap发现需要ro-bind /usr和/lib才能执行env/bash/ls等指令。该脚本没有挂载/lib