若遇到输入法, HiDPI 等问题, 请安装 wechat-bwrap
附加包
Search Criteria
Package Details: wechat 4.0.1.11-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/wechat.git (read-only, click to copy) |
---|---|
Package Base: | |
Description: | 微信是一种生活方式. This is a repackage of the official WeChat which includes an optional sandbox support |
Upstream URL: | https://weixin.qq.com/ |
Keywords: | binary qt sandbox universal wechat |
Licenses: | LicenseRef-Proprietary |
Conflicts: | wechat-bin, wechat-universal, wechat-uos |
Provides: | wechat-bin, wechat-universal, wechat-uos |
Replaces: | wechat-bin |
Submitter: | Kimiblock |
Maintainer: | Kimiblock |
Last Packager: | Kimiblock |
Votes: | 51 |
Popularity: | 12.60 |
First Submitted: | 2024-06-30 11:27 (UTC) |
Last Updated: | 2024-12-26 11:04 (UTC) |
Dependencies (43)
- alsa-lib
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- expat (expat-gitAUR)
- 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)
- jackAUR (jack2-gitAUR, pipewire-jack-gitAUR, pipewire-full-jack-gitAUR, jack2, pipewire-jack)
- libdrm (libdrm-gitAUR)
- libvlc (vlc-gitAUR, libvlc-luajitAUR)
- 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)
- pango (pango-gitAUR)
- psmisc (psmisc-selinuxAUR)
- util-linux (busybox-coreutilsAUR, util-linux-selinuxAUR, util-linux-aesAUR)
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- libarchive (libarchive-gitAUR) (make)
- at-spi2-core (at-spi2-core-gitAUR) (optional) – accessibility
- libglvnd (libglvnd-gitAUR) (optional)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional)
- orca (orca-gitAUR) (optional) – screen reader
- ttf-twemojiAUR (ttf-twemoji-gitAUR) (optional) – An emoji font that will work with WeChat
- wechat-sandbox-provider (wechat-bwrapAUR) (optional) – Sandbox support
Required by (1)
Sources (6)
Kimiblock commented on 2024-12-27 07:34 (UTC)
nuaadupuliu commented on 2024-12-27 06:37 (UTC) (edited on 2024-12-27 06:43 (UTC) by nuaadupuliu)
ibus 无法输入中文
refer to https://aur.archlinux.org/packages/wechat-bin
环境变量
如果无法输入中文,则需要从菜单编辑器为其添加环境变量QT_IM_MODULE,比如:QT_IM_MODULE=fcitx(不是fcitx5)或QT_IM_MODULE=ibus。 如果高分辨率比例有问题,也可以从菜单编辑器中为其增加环境变量QT_AUTO_SCREEN_SCALE_FACTOR=1(自动缩放),或者设置指定的缩放比例QT_SCALE_FACTOR,比如QT_SCALE_FACTOR=1.5(两个变量不要同时设置)。 微信目前尚不支持从原生wayland启动,如果从菜单无法启动,从命令行启动出现'wechat' terminated by signal SIGSEGV (Address boundary error)错误的,需要添加环境变量'QT_QPA_PLATFORM=wayland;xcb'(注意必须有单引号)。从4.0.0.30-2起默认已经加了这个变量,但如果在更新到此版本之前,你的~/.local/share/applications/wechat.desktop已经存在了则需要你自己手动从菜单编辑器或直接编辑该文件添加一下。 如果你的系统没有菜单编辑器,也可以自行将/usr/share/applications/wechat.desktop复制为~/.local/share/applications/wechat.desktop(菜单编辑器其实修改的也是家目录下的这个文件),然后编辑Exec=所在行,比如设置输入法为fcitx、设置自动缩放并添加x11支持:Exec=env QT_IM_MODULE=fcitx QT_AUTO_SCREEN_SCALE_FACTOR=1 'QT_QPA_PLATFORM=wayland;xcb' /usr/bin/wechat %U。 对于多屏幕且屏幕分辨率不一致的,可以设置环境变量QT_AUTO_SCREEN_SCALE_FACTOR=1(自动缩放),也可以设置QT_SCREEN_SCALE_FACTORS手动指定不同屏幕不同的缩放比例,比如'QT_SCREEN_SCALE_FACTORS=1;1.5'(注意必须有单引号,且XXXX_SCALE_FACTOR的3个变量不要同时设置),表示第一块屏幕的显示比例是100%,第二块屏幕的显示比例是150%。 如果安装了中文字体仍然出现乱码,请自行按上述方式添加环境变量LANG=zh_CN.UTF-8。 添加或调整环境变量后需要退出微信并重新从菜单打开方可生效。
Kimiblock commented on 2024-12-26 15:01 (UTC) (edited on 2024-12-27 05:01 (UTC) by Kimiblock)
@etoyz Then I guess one shouldn't break the guidelines by submitting duplicated packages, especially when such package has already been merged by PM earlier.
etoyz commented on 2024-12-26 14:15 (UTC)
@Kimiblock "wechat-bin" should NOT merged into this package, and this package's name should NOT be "wechat". In other words, the current "wechat-bin" is the real "wechat". I think you should rename this package.
Kimiblock commented on 2024-12-26 08:50 (UTC) (edited on 2024-12-26 08:50 (UTC) by Kimiblock)
@envolution Then I assume you know wechat-bin was already merged into this package a while ago
Kimiblock commented on 2024-12-26 08:49 (UTC)
若要启用沙盒, 请安装 wechat-bwrap
.
请在发表评论时检查事实, 使用正常语言.
envolution commented on 2024-12-26 07:13 (UTC)
@Kimiblock You can go ahead and assume I'm up to date on the mailing list
Kimiblock commented on 2024-12-26 07:06 (UTC)
Oh well, just some people mistakenly uploaded a merged package again means I have to remove something already added to the replaces array? Or did you not visit the link at all?
Pinned Comments
Kimiblock commented on 2024-12-27 07:34 (UTC)
若遇到输入法, HiDPI 等问题, 请安装
wechat-bwrap
附加包Kimiblock commented on 2024-12-26 08:49 (UTC)
若要启用沙盒, 请安装
wechat-bwrap
.请在发表评论时检查事实, 使用正常语言.
Kimiblock commented on 2024-11-13 11:11 (UTC) (edited on 2024-12-11 08:01 (UTC) by Kimiblock)
分享文档时, 请先将📃放入数据目录: 右键应用程序图标, 选择 Open WeChat Data 或手动打开 "${XDG_DATA_HOME}"/WeChat_Data (默认为 ~/.local/share/WeChat_Data), 微信会将这个目录作为家目录.
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 -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用