主要是通过网络搜索找到比较快速便捷的方法,以及遇到的问题,在这里归纳总结展示。引用的地方会标出出处。
安装
- 添加仓库
首次使用时,你需要运行如下一条命令将移植仓库添加到系统中。
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
- 应用安装
自此以后,你可以像对待普通的软件包一样,使用apt-get系列命令进行各种应用安装、更新和卸载清理了。
将com.qq.weixin.deepin替换为下列包名,可以继续安装其他应用:
微信 com.qq.weixin.deepin
QQ com.qq.im.deepin
钉钉 com.dingtalk.deepin
阿里旺旺 com.taobao.wangwang.deepin
QQ音乐 com.qq.music.deepin
QQ视频 com.qq.video.deepin
爱奇艺 com.iqiyi.deepin
比如安装微信只需要运行下面的命令,
sudo apt-get install com.qq.weixin.deepin
- 重启电脑
电脑重启之后就可以在应用程序界面看到微信的图标,点击即可开启应用
引用自:https://github.com/zq1997/deepin-wine
主要问题
1 字体问题
参考:https://blog.csdn.net/hymanjack/article/details/100168300
进入run.sh
gedit /opt/deepinwine/tools/run.sh
然后把以下行进行修改
WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"
重开wechat看中文是否显示正确。
如果还是不行的话继续以下步骤:
- 下载字体并添加:
下载链接https://github.com/ivandon15/Fonts
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
- 修改系统注册表
gedit ~/.deepinwine/Deepin-WeChat/system.reg
#修改以下两行
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
- 字体注册
gedit msyh_config.reg
#以下为此文本中的内容添加
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="msyh.ttc"
"Microsoft Sans Serif"="msyh.ttc"
"MS Sans Serif"="msyh.ttc"
"Tahoma"="msyh.ttc"
"Tahoma Bold"="msyhbd.ttc"
"msyh"="msyh.ttc"
"Arial"="msyh.ttc"
"Arial Black"="msyh.ttc"
注册
WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine regedit msyh_config.reg
- 最后重启电脑
2 无法发送图片
下载图像包:
sudo apt install libjpeg62:i386