I'm on KDE 6.2.0 and there isn't any problem emerging so far. Please post output of journalctl --user -b -eu wechat-uos-qt
Search Criteria
Package Details: wechat-key-block 1.0.0.241-34
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 (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)
- 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-x11-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, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-git-frog-fifo-v1AUR, mesa-wsl2-gitAUR, 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)
- 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-compatAUR)
- cmake (cmake-gitAUR) (make)
- libarchive (libarchive-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- at-spi2-core (at-spi2-core-gitAUR) (optional) – accessibility
- orca (orca-gitAUR) (optional) – screen reader
- ttf-twemojiAUR (ttf-twemoji-gitAUR) (optional) – An emoji font that will work with WeChat
- wechatAUR (optional) – The meta package
Required by (0)
Sources (14)
Kimiblock commented on 2024-10-17 14:25 (UTC)
Freed commented on 2024-10-17 13:42 (UTC)
After paru -Syu
, run wechat-uos-qt
will open no window for me.
❯ wechat-uos-qt
[Info] XDG Config Home defined @ /home/wzy/.config
[Info] Removing unused links...
rm: cannot remove '/home/wzy/Documents/xwechat_files': Is a directory
[Warn] No ${XAUTHORITY} detected! Do you have any X server running?
access control disabled, clients can connect from any host
[Warn] Input Method potentially broken! Please set $XMODIFIERS properly
[Warning] WeChat failed last time
[Warning] D-Bus proxy failed last time
Starting D-Bus Proxy @ /run/user/1000/app/com.qq.weixin.uos.whatever...
Running as unit: wechat-dbus-proxy.service; invocation ID: b7840ad96c124a9e9e891e1c400e8234
Launching WeChat UOS...
[Warn] Emojis may be broken
[Info] Waiting for D-Bus proxy...
[Info] D-Bus proxy took 0s to launch
ls: cannot access '/dev/video*': No such file or directory
[Info] /home/wzy/.local/share/WeChat_Data/wechat.env exists
access control disabled, clients can connect from any host
Running as unit: wechat-uos-qt.service; invocation ID: 5293b6c35c4343468e2962de9d957d40
[Info] To view logs, launch this script with "--actions connect-tty" or type "journalctl --user -eu wechat-uos-qt"
❯ ps auwx|rg wechat
408:wzy 44338 0.0 0.0 3148 1924 ? Ss 21:41 0:00 /usr/bin/bwrap --symlink /usr/lib64 /lib64 --ro-bind /usr/lib /usr/lib --ro-bind /usr/lib64 /usr/lib64 --ro-bind /usr/bin /usr/bin --ro-bind-try /usr/share /usr/share --bind /run/user/1000 /run/user/1000 --ro-bind /usr/lib/wechat-uos-qt/flatpak-info /.flatpak-info -- /usr/bin/xdg-dbus-proxy unix:path=/run/user/1000/bus /run/user/1000/app/com.qq.weixin.uos.whatever/bus --log --filter --own=org.kde.* --talk=org.freedesktop.portal.Flatpak --talk=org.freedesktop.portal.Desktop --talk=org.freedesktop.portal.* --talk=org.freedesktop.Notifications --talk=org.freedesktop.FileManager1 --talk=org.kde.StatusNotifierWatcher --talk=org.freedesktop.portal.OpenURI --talk=org.freedesktop.portal.OpenURI.* --call=org.freedesktop.portal.*=* --own=com.qq.weixin.uos.whatever --broadcast=org.freedesktop.portal.*=@/org/freedesktop/portal/* --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersAsync@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersSync@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetDeviceEventListeners@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetKeystrokeListeners@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.Registry.GetRegisteredEvents@/org/a11y/atspi/registry --call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Unembed@/org/a11y/atspi/accessible/root --call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Embed@/org/a11y/atspi/accessible/root
Kimiblock commented on 2024-09-11 12:07 (UTC) (edited on 2024-09-11 12:08 (UTC) by Kimiblock)
1.0.0.241-33
引入了共享目录. 沙盒内 共享目录
或 Shared Directory
与沙盒外 文档/WeChat 联通. 可右键任务栏微信图标快捷打开.
未来的版本将移除暂时关闭沙盒的选项
mrLian commented on 2024-09-01 10:00 (UTC)
嗯嗯,好的,这样方便了很多
Kimiblock commented on 2024-09-01 09:32 (UTC)
自 1.0.0.241-31
, 将使用 D-Bus Filemanager1 call 作为打开文件夹的方式. 若打开非默认文件管理器, 使用变量 wechatUsePortal = 1
回退到旧行为.
Kimiblock commented on 2024-08-31 03:44 (UTC)
例如 Dolphin 的 FileManager1 会被 Nautilus org.freedesktop.FileManager1.service
抢占
Kimiblock commented on 2024-08-31 03:38 (UTC)
使用 xdg-open 的原因是 FileManager1
的行为不受控制, 可能打开非默认文件管理器
mrLian commented on 2024-08-30 09:46 (UTC)
提个小建议,open.sh的这段不建议作为第一优先,这只能打开文件,没法把焦点直接聚焦到文件名上,文件多的时候找起来有点懵逼,建议还是将这个作为备选来使用 /usr/lib/flatpak-xdg-utils/xdg-open $(dirname "${link}")
if [[ $? = 0 ]]; then exit 0 fi
mrLian commented on 2024-08-29 16:27 (UTC)
好的,我刚测试完了,在函数内写死了地址发现确实如此 function execApp() { XDG_DOCUMENTS_DIR=/home/lian/Documents
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 模块.