如果日志为微信输出, 尝试安装 dde 文件管理器和 Nautilus
同时建议还原 PATH
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.74 |
First Submitted: | 2024-03-05 15:37 (UTC) |
Last Updated: | 2024-11-05 06:28 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 23 Next › Last »
如果日志为微信输出, 尝试安装 dde 文件管理器和 Nautilus
同时建议还原 PATH
请先启用沙盒,等待更新
更新后无法启动(提示文件默认保存位置不能使用)
日志:
$ /usr/bin/wechat-uos-qt
[Info] Guessing XDG Config Home @ /home/terrasse/.config
Launching WeChat UOS (unsafe)...
wechat: no process found
Running as unit: run-u1998.service
Press ^] three times within 1s to disconnect TTY.
(WeChatAppEx:3945476): Gtk-WARNING **: 19:39:34.386: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
/usr/bin/which: no dde-file-manager in (/sandbox:/home/terrasse/.pyenv/plugins/pyenv-virtualenv/shims:/home/terrasse/.pyenv/shims:/home/terrasse/.pyenv/bin:/home/terrasse/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/var/lib/snapd/snap/bin:/riscv64-linux-gnu/bin:/home/terrasse/.local/share/gem/ruby/3.2.0/bin)
/usr/bin/which: no nautilus in (/sandbox:/home/terrasse/.pyenv/plugins/pyenv-virtualenv/shims:/home/terrasse/.pyenv/shims:/home/terrasse/.pyenv/bin:/home/terrasse/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/var/lib/snapd/snap/bin:/riscv64-linux-gnu/bin:/home/terrasse/.local/share/gem/ruby/3.2.0/bin)
微信已更新至 4.
下次更新将引入图形化权限询问
建议检查 XWayland 是否正常, 另请提供脚本启动日志
我最近从 i3(Xorg) 切换到了 sway(Wayland),遇到了这样一个问题。
当我直接在 sway 下运行 wechat-uos-qt
时,没有任何窗口出现。journalctl --user -eu wechat-uos-qt
中有
Oct 27 20:32:21 systemd[1020]: Started WeChat UOS (Qt).
Oct 27 20:32:21 WeChat[27895]: qt.qpa.xcb: could not connect to display
Oct 27 20:32:21 WeChat[27895]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Oct 27 20:32:21 WeChat[27895]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Oct 27 20:32:21 WeChat[27895]: Available platform plugins are: xcb.
Oct 27 20:32:21 WeChat[27899]: [1027/203221.408351:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
Oct 27 20:32:21 systemd-coredump[27928]: [🡕] Process 27895 (wechat) of user 1000 dumped core.
而当我先去 X 下启动一次 wechat, 再回到 wayland 下就可以正常启动。这可能是什么原因导致的呢?
XMODIFIERS=@im=fcitx
请问如何启用fcitx5支持?
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
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
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 模块.