首先需要安装Wine
这篇教程写的很好↓
在Linux上运行微信和QQ
https://zhuanlan.zhihu.com/p/399762744
(经过测试建议不勾选“虚拟桌面”,否则程序的界面全部都在一个窗口之中)
QQ安装使用相关问题
安装后解决QQ输入框无法插入表情和图片问题
https://blog.csdn.net/songshiyige/article/details/120571439
(wincfg ☞ 函数库,添加msvcp60,riched20,riched32三个函数[原装先于内建],然后重启QQ,重启建议结束全部qq和wine进程,否则可能退出不彻底)
解决部分文字显示为方块问题
https://blog.csdn.net/cxrshiz7890/article/details/106185468
(拷贝Windows系统下字体,到wine的路径下:cp Fonts/* ~/.wine/drive_c/windows/Fonts/)
QQ创建桌面快捷方式:
创建 qq.desktop 文件,填入以下内容(coz是我Ubuntu的用户名,需要改成自己的)
[Desktop Entry] Name=QQ Exec=env WINEPREFIX="/home/coz/.wine" wine C:\\\\Program\\ Files\\ (x86)\\\\Tencent\\\\QQ\\\\Bin\\\\QQScLauncher.exe Type=Application StartupNotify=true Path=/home/coz/.wine/dosdevices/c:/Program Files (x86)/Tencent/QQ/Bin Icon= StartupWMClass=QQScLauncher.exe
最后,右键 ☞ 允许运行 即可
微信安装使用相关问题
安装后输入框处有白框,无法插入图片和表情,文字输入来回闪烁。
解决方法参考了这两篇文章:
https://www.codenong.com/cs107134109/
https://blog.csdn.net/weixin_43943298/article/details/111145895
具体的步骤如下:
安装 winetricks
sudo apt install winetricks
执行winetricks riched20命令修复
winetricks riched20
注意!此处 W2KSP4_EN.EXE 这个文件会下载的非常缓慢,我们可以从这里下载到这个文件:
然后把他放到 ~/.cache/winetricks/win2ksp4 目录下,重新执行一下 winetricks riched20
备注:最后会提示 warning: Downloading https://xxxxxxxx/InstMsiW.exe failed 错误。其实这里还差一个 InstMsiW 文件,但是这个文件网上的下载链接已经404了,所以这里就不贴出来了。经过测试,不需要这个文件,也可以让微信的输入框正常,所以这个报错可以直接忽略掉,想研究的同学也欢迎去研究一下。
下面贴上没什么用的控制台输出。
coz@coz-KLVC-WXX9:~$ winetricks riched20 Executing mkdir -p /home/coz ------------------------------------------------------ warning: 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 20210206 - sha256sum: 0f21da98811e0bfda16a7d6d6b8e860a9cedbd4e836c7dd9b02f068d3092ee2e with wine-7.7 (Staging) and WINEARCH=win64 Executing w_do_call riched20 Executing mkdir -p /home/coz ------------------------------------------------------ warning: 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. ------------------------------------------------------ Executing load_riched20 Executing cabextract -q -d /home/coz/.wine/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ /home/coz/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE Executing cabextract -q --directory=/home/coz/.wine/dosdevices/c:/windows/syswow64 /home/coz/.wine/dosdevices/c:/windows/temp/i386/riched20.dl_ Using native,builtin override for following DLLs: riched20 Executing wine regedit C:\windows\Temp\override-dll.reg Executing wine64 regedit C:\windows\Temp\override-dll.reg Executing w_do_call msls31 Executing mkdir -p /home/coz ------------------------------------------------------ warning: 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. ------------------------------------------------------ Executing load_msls31 Executing mkdir -p /home/coz/.cache/winetricks/msls31 Executing cd /home/coz/.cache/winetricks/msls31 Downloading https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe to /home/coz/.cache/winetricks/msls31 --2022-05-04 00:00:04-- https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在解析主机 ftp.hp.com (ftp.hp.com)... 15.73.48.58 正在连接 ftp.hp.com (ftp.hp.com)|15.73.48.58|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 301 Moved Permanently 位置:https://ftp.ext.hp.com/pub/softlib/software/msi/InstMsiW.exe [跟随至新的 URL] --2022-05-04 00:00:05-- https://ftp.ext.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在解析主机 ftp.ext.hp.com (ftp.ext.hp.com)... 8.253.130.242 正在连接 ftp.ext.hp.com (ftp.ext.hp.com)|8.253.130.242|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 404 Not Found 2022-05-04 00:00:06 错误 404:Not Found。 Executing cd /home/coz/.cache/winetricks/msls31 Downloading https://web.archive.org/web/2000/https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe to /home/coz/.cache/winetricks/msls31 --2022-05-04 00:00:10-- https://web.archive.org/web/2000/https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在解析主机 web.archive.org (web.archive.org)... 108.160.161.83, 2001::1f0d:58a9 正在连接 web.archive.org (web.archive.org)|108.160.161.83|:443... 失败:连接超时。 正在连接 web.archive.org (web.archive.org)|2001::1f0d:58a9|:443... 失败:无法指定被请求的地址。 重试中。 --2022-05-04 00:00:26-- (尝试次数: 2) https://web.archive.org/web/2000/https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在连接 web.archive.org (web.archive.org)|108.160.161.83|:443... 失败:连接超时。 正在连接 web.archive.org (web.archive.org)|2001::1f0d:58a9|:443... 失败:无法指定被请求的地址。 重试中。 --2022-05-04 00:00:43-- (尝试次数: 3) https://web.archive.org/web/2000/https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe 正在连接 web.archive.org (web.archive.org)|108.160.161.83|:443... 失败:连接超时。 正在连接 web.archive.org (web.archive.org)|2001::1f0d:58a9|:443... 失败:无法指定被请求的地址。 放弃操作。 ------------------------------------------------------ warning: Downloading https://web.archive.org/web/2000/https://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe failed ------------------------------------------------------ coz@coz-KLVC-WXX9:~$
本站文章除注明转载/出处外,均为原创,若要转载请务必注明出处。转载后请将转载链接通过邮件告知我站,谢谢合作。本站邮箱:admin@only4.work
尊重他人劳动成果,共创和谐网络环境。点击版权声明查看本站相关条款。