其实我是觉得问题是在open.sh中的link=$(echo "$2" | sed "s|${fakeDirBase}|${reakDirBase}|g"),期待输出的应该是/home/lian/.local/share/WeChat_Data/Documents/xwechat_files/wxid_tnj09yzcfpvp21_0111/msg/file/2024-08/dist(14).zip,实际确是输出了/home/lian/.local/share/WeChat_Data/Documents/xwechat_files/home/lian/Documents/xwechat_files/wxid_tnj09yzcfpvp21_0111/msg/file/2024-08/dist(14).zip。但是为什么没有替换到呢,我是感觉问题在这里。沙盒里的${XDG_DOCUMENTS_DIR}变量输出了什么东西呢?
Search Criteria
Package Details: wechat-key-block 114514-1
Package Actions
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 (SiHuan) |
Last Packager: | Kimiblock |
Votes: | 23 |
Popularity: | 1.78 |
First Submitted: | 2024-03-05 15:37 (UTC) |
Last Updated: | 2024-11-05 06:28 (UTC) |
Dependencies (50)
- alsa-lib
- at-spi2-core (at-spi2-core-gitAUR)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- bubblewrap (bubblewrap-gitAUR, bubblewrap-overlayfsAUR, bubblewrap-suid)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- expat (expat-gitAUR)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR)
- flatpak-xdg-utils
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libdrm (libdrm-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxdamage
- libxext (libxext-gitAUR)
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxrender
- lsb-release
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- openssl-1.1
- pango (pango-gitAUR)
- psmisc (psmisc-selinuxAUR)
- util-linux (busybox-coreutilsAUR, util-linux-selinuxAUR, util-linux-aesAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wechatAUR (wechat-binAUR)
- wmctrl
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xdg-dbus-proxy
- xdg-user-dirs
- xorg-xhost
- zenity (qarma-gitAUR, zenity-gtk3AUR, zenity-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake-gitAUR) (make)
- libarchive (libarchive-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 23 Next › Last »
mrLian commented on 2024-08-29 15:41 (UTC)
mrLian commented on 2024-08-29 15:04 (UTC)
使用沙盒模式后执行journalctl --user -eu wechat-uos-qt | curl -F "c=@-" "https://fars.ee/"输入: date: 2024-08-29T15:03:08.712091+00:00 digest: a27e4db0cf06c858236cbbee110e167cbef12ae6 long: AKJ-TbDPBshYI2y77hEOFny-8Srm short: 8Srm size: 11762 status: created url: https://fars.ee/8Srm uuid: a05c5339-1e35-494f-aa61-9abe92c4602c
Kimiblock commented on 2024-08-29 14:59 (UTC)
日志还是不完整, 建议沙盒模式打开微信后, 执行打开文件夹的操作并在另一个终端运行 journalctl --user -eu wechat-uos-qt | curl -F "c=@-" "https://fars.ee/"
Kimiblock commented on 2024-08-29 14:56 (UTC)
另外前面找不到 transient service 有点可疑
Kimiblock commented on 2024-08-29 14:55 (UTC)
改不了, 后期会加判断
mrLian commented on 2024-08-29 06:34 (UTC)
上面的问题其实不是很重要,可以通过写死路径解决。但是我在禁用沙盒模式后打开微信发现无法使用输入法了
mrLian commented on 2024-08-29 06:26 (UTC)
我在.desktop里配置了Exec=trashAppUnsafe=1 env wechat-uos-qt %u来关闭沙盒之后能够正常打开文件夹,但是打开数据目录的Exec=/usr/bin/wechat-uos-qt --actions opendir打开的还是沙盒内的路径,这个需要怎么改呢?
Kimiblock commented on 2024-08-29 02:45 (UTC)
是否关闭沙盒?
mrLian commented on 2024-08-28 17:13 (UTC)
我也是感觉XDG Desktop Portal 有问题,导致路径没有转化正确,在xwechat_files后面又是输出了一遍的/home/的路径,我只安装了xdg-desktop-portal-kde和xdg-desktop-portal,需要什么操作吗?文件管理器用的是Dolphin,应该是支持的
mrLian commented on 2024-08-28 17:10 (UTC)
完整日志的话就是这个 /run/user/1000/systemd/transient/wechat-uos-qt.service: No such file or directory 8月 28 19:37:50 lian-6666 systemd[923]: wechat-uos-qt.service: Failed to open /run/user/1000/systemd/transient/wechat-uos-qt.service: No such file or directory 8月 28 19:37:50 lian-6666 systemd[923]: wechat-uos-qt.service: Failed to open /run/user/1000/systemd/transient/wechat-uos-qt.service: No such file or directory 8月 28 19:37:50 lian-6666 systemd[923]: wechat-uos-qt.service: Failed to open /run/user/1000/systemd/transient/wechat-uos-qt.service: No such file or directory 8月 28 19:37:50 lian-6666 systemd[923]: Started WeChat Qt. 8月 28 19:37:51 lian-6666 WeChat[3107440]: libpng warning: iCCP: known incorrect sRGB profile 8月 28 19:38:00 lian-6666 WeChat[3107703]: Cannot open netlink socket: Address family not supported by protocol 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:02 lian-6666 WeChat[3107440]: QWidget::setLayout: Attempting to set QLayout "" on mmui::ChatBubbleFrame "", which already has a layout 8月 28 19:43:03 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:03 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:03 lian-6666 WeChat[3107440]: Case insensitive sorting unsupported in the posix collation implementation 8月 28 19:43:03 lian-6666 WeChat[3107440]: Numeric mode unsupported in the posix collation implementation 8月 28 19:43:08 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:08 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:08 lian-6666 WeChat[3107440]: Case insensitive sorting unsupported in the posix collation implementation 8月 28 19:43:08 lian-6666 WeChat[3107440]: Numeric mode unsupported in the posix collation implementation 8月 28 19:43:10 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:10 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:10 lian-6666 WeChat[3107440]: Case insensitive sorting unsupported in the posix collation implementation 8月 28 19:43:10 lian-6666 WeChat[3107440]: Numeric mode unsupported in the posix collation implementation 8月 28 19:43:13 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:13 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:13 lian-6666 WeChat[3107440]: Case insensitive sorting unsupported in the posix collation implementation 8月 28 19:43:13 lian-6666 WeChat[3107440]: Numeric mode unsupported in the posix collation implementation 8月 28 19:43:27 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:27 lian-6666 WeChat[3107440]: Only C and default locale supported with the posix collation implementation 8月 28 19:43:27 lian-6666 WeChat[3107440]: Case insensitive sorting unsupp
Pinned Comments
Kimiblock commented on 2024-11-05 10:20 (UTC)
此包已迁移至 aur/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 -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用
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 模块.