@devome 已经查出问题了
软件wayland运行有问题,需要如下修改
QT_QPA_PLATFORM="wayland;xcb" 加这个环境变量,调用xwayland运行
能打包进去吗?
| Git Clone URL: | https://aur.archlinux.org/wechat.git (read-only, click to copy) |
|---|---|
| Package Base: | |
| 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: | 50 |
| Popularity: | 0.85 |
| First Submitted: | 2024-06-30 11:27 (UTC) |
| Last Updated: | 2026-07-17 02:10 (UTC) |
« First ‹ Previous 1 .. 22 23 24 25 26 27 28 29 30 31 32 .. 59 Next › Last »
@devome 已经查出问题了
软件wayland运行有问题,需要如下修改
QT_QPA_PLATFORM="wayland;xcb" 加这个环境变量,调用xwayland运行
能打包进去吗?
哦,这个缩放问题应该是我从x11切到wayland导致的,x11下没有这个问题,如果是kde桌面,在wayland下桌面显示器多了缩放选项,默认是由应用程序进行缩放,所以需要在微信里配置环境变量,可以修改成由系统缩放,但这样实测会导致屏幕模糊,建议按照锁定评论配置。
是的,我理解成编辑器修改的是全局的,如果没有编辑器,再复制修改家目录的,那没问题了,感谢详细的解释:)
因为我理解这个添加以后对低分辨来说没有什么影响,高分辨下添加之后可以解决画面小的问题,确实不困难,但就繁琐在每次更新完软件包之后,.desktop会被更新,如果不考虑修改,能否将wechat.desktop添加为backup选项?避免版本更新后文件覆盖。
写入 ~/.local/share/WeChat_Data/wechat.env
可通过环境变量 bwBindPar 向 bubblewrap 沙盒添加参数.
使用指南位于 ArchWiki
Pinned Comments
Kimiblock commented on 2026-02-06 09:47 (UTC)
Notice: Portable has been rewritten in Go, and dropped unsafe mode in the process. Users who disable sandbox are required to do a manual intervention, please pick one of the following:
portable-legacyto continue using the old version of PortableSorry for inconvenience, the unsafe mode is not well tested while porting and we decided to drop it to reduce maintain burden.
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 -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用