当前位置: 首页 > 工具软件 > Wine-CE > 使用案例 >

在ubuntu上使用deepin-wine及问题总结

乐正洲
2023-12-01

在ubuntu上安装deepin-wine,参考https://github.com/wszqkzqk/deepin-wine-ubuntu

在deepin-wine上安装软件,dpkg -i xxx.deb (xxx.deb为待安装的deb文件)

问题一:

关于deepinwine中企业微信不显示(显示方框)的问题:

1.下载Windows的simsun.ttc字体,地址为http://www.font5.com.cn/font_download.php?id=150&part=1237886897

2.解压,如果解压失败,需要安装:

sudo apt-get install unrar 

sudo apt-get install rar

sudo apt-get install p7zip-rar

sudo apt-get install p7zip-full

3.将字体文件simsun.ttc放入~/.deepinwine/XXX/drive_c/windows/Fonts里面(XXX指deepin下的你安装的程序)

4.编写文件zh.reg,如下:

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,238"="simsun"
"Arial CYR,204"="simsun"
"Arial Greek,161"="simsun"
"Arial TUR,162"="simsun"
"Courier New"="simsun"
"Courier New CE,238"="simsun"
"Courier New CYR,204"="simsun"
"Courier New Greek,161"="simsun"
"Courier New TUR,162"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,238"="simsun"
"Times New Roman CYR,204"="simsun"
"Times New Roman Greek,161"="simsun"
"Times New Roman TUR,162"="simsun"
"Tms Rmn"="simsun"

4.执行命令:

deepin-wine regedit zh.reg

如果没有提示就说明注册成功了,这样就解决了乱码问题了

问题二:

关于deepinwine中企业微信不能发送图片的问题:

执行命令:

sudo apt install libjpeg62:i386
 类似资料: