问题:
Wine微信后发现输入内容在编辑区不显示,但是可以发送出去,发送出去显示正常。
看到网上有很多说明,把Windows下的Riched20.dll拷贝到Wine系统中的driver_c/windows/system32正面覆盖原来的dll。
经过实测,无效。
解决办法:
在命令行模式下运行: winetricks riched20
[syi@syi-Inspiron-7420 ~]$ winetricks riched20
Using winetricks 20180815-next - sha256sum: b45d95a775d4456202137448852e4d557209fdd92c6173b5944d629b95f62cae with wine-3.6 (Ubuntu 3.6-1) and WINEARCH=win32
cat: /tmp/winetricks.MQZdL2kG/stdout.tmp: No such file or directory
rm: cannot remove '/tmp/winetricks.MQZdL2kG/stdout.tmp': No such file or directory
------------------------------------------------------
Github down? version '' doesn't appear to be a valid version
------------------------------------------------------
------------------------------------------------------
You are running winetricks-20180815-next, latest upstream is winetricks-!
------------------------------------------------------
------------------------------------------------------
You should update using your distribution's package manager, --self-update, or manually.
------------------------------------------------------
Executing w_do_call riched20
Executing load_riched20
Executing mkdir -p /home/syi/.cache/winetricks/win2ksp4
Executing cd /home/syi/.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/syi/.cache/winetricks/win2ksp4
04/19 15:17:49 [NOTICE] Downloading 1 item(s)
[#bb40e6 0B/0B CN:1 DL:0B]
04/19 15:17:53 [NOTICE] CUID#8 - Redirecting to https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
[#bb40e6 0B/0B CN:1 DL:0B]
04/19 15:18:00 [NOTICE] CUID#9 - Redirecting to https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
[#bb40e6 16KiB/129MiB(0%) CN:5 DL:9.0KiB ETA:4h3m6s]
04/19 15:18:02 [NOTICE] CUID#10 - Redirecting to https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
04/19 15:18:03 [NOTICE] CUID#11 - Redirecting to https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
[#bb40e6 2.1MiB/129MiB(1%) CN:5 DL:61KiB ETA:35m11s]
04/19 15:18:26 [NOTICE] CUID#12 - Redirecting to https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
*** Download Progress Summary as of Sun Apr 19 15:18:50 2020 ***
===============================================================================
[#bb40e6 6.7MiB/129MiB(5%) CN:5 DL:140KiB ETA:14m50s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:19:50 2020 ***
===============================================================================
[#bb40e6 12MiB/129MiB(10%) CN:5 DL:112KiB ETA:17m39s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:20:50 2020 ***
===============================================================================
[#bb40e6 25MiB/129MiB(19%) CN:5 DL:330KiB ETA:5m21s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
[#bb40e6 44MiB/129MiB(34%) CN:5 DL:416KiB ETA:3m27s]
04/19 15:21:36 [NOTICE] CUID#12 - Redirecting to https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
*** Download Progress Summary as of Sun Apr 19 15:21:51 2020 ***
===============================================================================
[#bb40e6 49MiB/129MiB(38%) CN:5 DL:306KiB ETA:4m27s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:22:51 2020 ***
===============================================================================
[#bb40e6 66MiB/129MiB(51%) CN:5 DL:267KiB ETA:3m59s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:23:52 2020 ***
===============================================================================
[#bb40e6 85MiB/129MiB(66%) CN:5 DL:394KiB ETA:1m52s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:24:52 2020 ***
===============================================================================
[#bb40e6 94MiB/129MiB(73%) CN:4 DL:139KiB ETA:4m13s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:25:52 2020 ***
===============================================================================
[#bb40e6 104MiB/129MiB(80%) CN:3 DL:66KiB ETA:6m30s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:26:53 2020 ***
=======================================================================================================================================================================
[#bb40e6 108MiB/129MiB(83%) CN:3 DL:68KiB ETA:5m11s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
*** Download Progress Summary as of Sun Apr 19 15:27:53 2020 ***
=======================================================================================================================================================================
[#bb40e6 119MiB/129MiB(92%) CN:2 DL:468KiB ETA:21s]
FILE: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[#bb40e6 128MiB/129MiB(99%) CN:1 DL:441KiB]
04/19 15:28:13 [NOTICE] Download complete: /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
bb40e6|OK | 215KiB/s|/home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
Status Legend:
(OK):download completed.
Executing cd /home/syi
Executing cabextract -q -d /home/syi/.wine/dosdevices/c:/windows/temp/_riched20 -L -F i386/riched20.dl_ /home/syi/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
Executing cabextract -q --directory=/home/syi/.wine/dosdevices/c:/windows/system32 /home/syi/.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 w_do_call msls31
Executing load_msls31
Executing mkdir -p /home/syi/.cache/winetricks/msls31
Executing cd /home/syi/.cache/winetricks/msls31
Downloading https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe to /home/syi/.cache/winetricks/msls31
04/19 15:28:15 [NOTICE] Downloading 1 item(s)
[#3e3623 0B/0B CN:1 DL:0B]
04/19 15:28:17 [NOTICE] CUID#8 - Redirecting to https://whp-aus2.cold.extweb.hp.com/pub/softlib/software/msi/InstMsiW.exe
[#3e3623 48KiB/1.7MiB(2%) CN:2 DL:39KiB ETA:43s]
04/19 15:28:20 [NOTICE] CUID#9 - Redirecting to https://whp-aus2.cold.extweb.hp.com/pub/softlib/software/msi/InstMsiW.exe
[#3e3623 1.6MiB/1.7MiB(95%) CN:1 DL:230KiB]
04/19 15:28:27 [NOTICE] Download complete: /home/syi/.cache/winetricks/msls31/InstMsiW.exe
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
3e3623|OK | 232KiB/s|/home/syi/.cache/winetricks/msls31/InstMsiW.exe
Status Legend:
(OK):download completed.
Executing cd /home/syi
Executing cabextract -q --directory=/home/syi/.wine/dosdevices/c:/windows/temp/_msls31 /home/syi/.cache/winetricks/msls31/InstMsiW.exe
Executing cp -f /home/syi/.wine/dosdevices/c:/windows/temp/_msls31/msls31.dll /home/syi/.wine/dosdevices/c:/windows/system32
You opted in, so reporting 'msls31 riched20 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't. Use --optout to disable future reports.
从输出日志可以看到,这个命令下载了文件:
https://saimei.ftp.acc.umu.se/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE
https://whp-aus2.cold.extweb.hp.com/pub/softlib/software/msi/InstMsiW.exe
覆盖了Wine内建的msls31 riched20。
问题解决: