wine新版 wine-5.12 微信、QQ 等软件输入框无法输入问题解决办法
- 一:修复window运行环境
- 1.1:安装winetricks插件
- 1.2 执行修复命令修复环境
- 1.3 重启系统 使修复生效
一:修复window运行环境
1.1:安装winetricks插件
在桌面上右键鼠标选择Open in Terminal打开终端模拟器
执行tao@tao:~/桌面$ sudo apt install winetricks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | tao@tao:~/桌面$ sudo apt install winetricks [sudo] tao 的密码: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: command-not-found-data diffstat example-content g++-8 gettext gir1.2-mutter-4 ifupdown intltool-debian libapt-inst2.0 libapt-pkg-perl libapt-pkg5.0 libarchive-zip-perl libasync-mergepoint-per ...... 将会同时安装下列软件: cabextract fuseiso libmspack0 p7zip p7zip-full 建议安装: p7zip-rar tor unrar-free | unrar 下列【新】软件包将被安装: cabextract fuseiso libmspack0 p7zip p7zip-full winetricks 升级了 0 个软件包,新安装了 6 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 需要下载 1,789 kB 的归档。 解压缩后会消耗 7,193 kB 的额外空间。 您希望继续执行吗? [Y/n] y |
这里选择 Y 然后就是漫长的等待安装时间
1.2 执行修复命令修复环境
执行winetricks riched20命令修复
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | tao@tao:~/桌面$ winetricks riched20 ------------------------------------------------------ You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. ------------------------------------------------------ Using winetricks 20190912 - sha256sum: 669617710f27ac714338ad98a6ae90034d41e05b697dd9489b190b65e2b824b7 with wine-5.12 and WINEARCH=win64 Executing w_do_call riched20 Executing load_riched20 Executing mkdir -p /home/tao/.cache/winetricks/win2ksp4 Executing cd /home/tao/.cache/winetricks/win2ksp4 Downloading https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE to /home/tao/.cache/winetricks/win2ksp4 --2020-07-05 07:49:34-- https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE 正在解析主机 ftp.gnome.org (ftp.gnome.org)... 194.71.11.165, 194.71.11.173 正在连接 ftp.gnome.org (ftp.gnome.org)|194.71.11.165|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 302 Found 位置:https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE [跟随至新的 URL] --2020-07-05 07:49:35-- https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE 正在解析主机 saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)... 194.71.11.138 正在连接 saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)|194.71.11.138|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度: 135477136 (129M) [application/x-msdownload] 正在保存至: “W2KSP4_EN.EXE” W2KSP4_EN.EXE 100%[====================>] 129.20M 7.99MB/s 用时 18s 2020-07-05 07:49:54 (7.02 MB/s) - 已保存 “W2KSP4_EN.EXE” [135477136/135477136]) Executing cd /home/tao/桌面 Executing cabextract -q -d /home/tao/.wine/dosdevices/c:/windows/temp/_riched20 -L -F i386/riched20.dl_ /home/tao/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE Executing cabextract -q --directory=/home/tao/.wine/dosdevices/c:/windows/syswow64 /home/tao/.wine/dosdevices/c:/windows/temp/_riched20/i386/riched20.dl_ Using native,builtin override for following DLLs: riched20 Executing wine regedit C:\windows\Temp\_riched20\override-dll.reg Executing wine64 regedit C:\windows\Temp\_riched20\override-dll.reg Executing w_do_call msls31 Executing load_msls31 Executing mkdir -p /home/tao/.cache/winetricks/msls31 Executing cd /home/tao/.cache/winetricks/msls31 Downloading https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe to /home/tao/.cache/winetricks/msls31 --2020-07-05 07:49:56-- https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在解析主机 ftp.hp.com (ftp.hp.com)... 15.73.208.138, 15.72.236.30 正在连接 ftp.hp.com (ftp.hp.com)|15.73.208.138|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 301 Moved Permanently 位置:https://whp-aus2.cold.extweb.hp.com/pub/softlib/software/msi/InstMsiW.exe [跟随至新的 URL] --2020-07-05 07:49:57-- https://whp-aus2.cold.extweb.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在解析主机 whp-aus2.cold.extweb.hp.com (whp-aus2.cold.extweb.hp.com)... 15.73.212.191, 15.73.212.192 正在连接 whp-aus2.cold.extweb.hp.com (whp-aus2.cold.extweb.hp.com)|15.73.212.191|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度: 1822848 (1.7M) [application/octet-stream] 正在保存至: “InstMsiW.exe” InstMsiW.exe 100%[===============================>] 1.74M 471KB/s 用时 3.8s 2020-07-05 07:50:02 (471 KB/s) - 已保存 “InstMsiW.exe” [1822848/1822848]) Executing cd /home/tao/桌面 Executing cabextract -q --directory=/home/tao/.wine/dosdevices/c:/windows/temp/_msls31 /home/tao/.cache/winetricks/msls31/InstMsiW.exe Executing cp -f /home/tao/.wine/dosdevices/c:/windows/temp/_msls31/msls31.dll /home/tao/.wine/dosdevices/c:/windows/syswow64 tao@tao:~/桌面$ |
1.3 重启系统 使修复生效
最后看下修改后的效果
可以看到文字已经可以正常显示了
winetricks 的其他用法 具体使用请看官方说明