突然不能用微信了,即在 rofi 执行 WeChat 没反应;试着在 Kitty 跑 /opt/apps/com.qq.weixin.deepin/files/run.sh 报错如下:
Don't use public dir Run Deepin-WeChat 3.2.1.154deepin14 c:/Program Files/Tencent/WeChat/WeChat.exe run Deepin-WeChat progress pid CallApp Deepin-WeChat arg count 1: c:/Program Files/Tencent/WeChat/WeChat.exe Don't use public dir Thu Sep 21 05:50:39 PM CST 2023:kill Deepin-WeChat block Thu Sep 21 05:50:39 PM CST 2023:tag bottle: /home/otakutyrant/.deepinwine/Deepin-WeChat /usr/bin/env: ‘python2’: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / Thu Sep 21 05:50:39 PM CST 2023:active bottles: Thu Sep 21 05:50:39 PM CST 2023:try to kill /home/otakutyrant/.deepinwine/Deepin-WeChat /opt/deepinwine/tools/kill.sh: line 65: /proc/6554/environ: No such file or directory cat: /proc/6554/maps: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/6554/cmdline: No such file or directory xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/6554/maps: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/6579/maps: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/6579/cmdlinexargs: : No such file or directorywarning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/6579/maps: No such file or directory grep: warning: stray \ before / otakuty+ 6676 6430 0 17:50 pts/4 00:00:00 grep -E otakutyrant.exe.<defunct> Starting process c:/Program Files/Tencent/WeChat/WeChat.exe ... X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 20 (X_GetProperty) Resource id in failed request: 0x0 Serial number of failed request: 10 Current serial number in output stream: 10 /v/c/p/pkg 305 05:50:39
Pinned Comments
JoveYu commented on 2022-01-04 04:22 (UTC) (edited on 2022-09-23 01:46 (UTC) by JoveYu)
windows版本微信在3.2.1版本以后架构改动比较大,升级更高版本wine兼容性不好,可能造成程序崩溃功能异常等问题。
目前这个版本所有功能一切正常且长期运行稳定可靠,包括聊天,截图,内置浏览器,小程序,高分屏显示。更适合追求稳定可靠的用户。
需要更高版本的功能,例如朋友圈,自动登录,视频号等,可以看看deepin-wine-wechat包。
觉得好的朋友记得投个票~
常见问题:
Q:高分屏缩放支持
A:执行
WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine6-stable winecfg
在显示标签下调整DPI,100%缩放为96dpi,依次类推200%缩放192dpiQ:输入框无法显示输入字符,只显示口
A:可以下载安装宋体字体文件simsun.ttc,重启微信即可正常显示,也可以修改wine注册表替换字体,方法自己可以研究下
Q:微信快捷键,例如快捷键唤醒微信
A:可以执行
/opt/deepinwine/tools/sendkeys.sh w WeChat
相当于按下Ctrl+Alt+w,可以在操作系统设置内绑定对应快捷键到该命令,实现系统快捷键控制微信