ubuntu20安装出现致命错误_Ubuntu 20.04安装deepin微信出现的问题及解决方法(全)...

2023-05-16

第一步: 下载deepin-wine(选择深度的坑相对较少)

git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git

第二步:安装install.sh

cd deepin-wine-for-ubuntu

./install.sh

image.png

这里不出意外,会出现wine的版本依赖问题。

sudo dpkg -i deepin.com.wechat_2.6.2.31deepin0_i386.deb

以下是问题解决的方法:

deepin-wechat 针对Wine版本依赖问题解决(重新打包deb解决问题)

1.1 通过鼠标右键deepin.com.wechat_2.6.2.31deepin0_i386.deb(解压到当前文件夹) Extract here

image.png

1.2 再次解压control 和 data 两个压缩包

image.png

1.3 打开control 文件夹下面的 control 文件,修改>= 1.9-11 为>= 2.18-12

Depends: deepin-wine (>= 1.9-11), deepin-wine32, deepin-wine32-preloader, deepin-wine-uninstaller, deepin-wine-helper (>= 1.1deepin3), fonts-noto-cjk

image.png

1.4 重命名control文件夹为DEBIAN文件夹,拷贝data下面的文件到上层目录,然后删除data文件

image.png

1.5 删除control.tar.gz 和 data.tar.xz, 重新打包 dpkg -b . weixin.deb

rm control.tar.gz data.tar.xz

dpkg -b . weixin.deb

1.7 到此就结束了,重新安装就可以搞定依赖的问题

sudo dpkg -i weixin.deb

微信中的中文显示方块的问题,这个问题比较千奇百怪,所以需要有点耐心。

2.1 修改/opt/deepinwine/tools/run.sh文件,找到WINE_CMD="deepin-wine"行,将其改为

sudo vim /opt/deepinwine/tools/run.sh

WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"

2.2 下载字体,由于默认的版本还是会出现找不到字体的问题

推荐一个下载网址windows7字体 完整版

注意: .deepinwine 是一个隐藏文件夹

cp Win7zite/Win7全字库/* ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts

#有的朋友也可能是拷贝字体库到这里

cp Win7zite/Win7全字库/* ~/.wine/drive_c/windows/Fonts

2.3 编辑一个新文件zh.reg,内容如下

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]

"Arial"="Microsoft Sans Serif"

"Arial Baltic,186"="Microsoft Sans Serif,186"

"Arial CE,238"="Microsoft Sans Serif,238"

"Arial CYR,204"="Microsoft Sans Serif,204"

"Arial Greek,161"="Microsoft Sans Serif,161"

"Arial TUR,162"="Microsoft Sans Serif,162"

"Courier New Baltic,186"="Microsoft Sans Serif,186"

"Courier New CE,238"="Microsoft Sans Serif,238"

"Courier New CYR,204"="Microsoft Sans Serif,204"

"Courier New Greek,161"="Microsoft Sans Serif,161"

"Courier New TUR,162"="Microsoft Sans Serif,162"

"Helv"="Microsoft Sans Serif"

"Helvetica"="Microsoft Sans Serif"

"MS Shell Dlg"="Microsoft Sans Serif"

"MS Shell Dlg 2"="Microsoft Sans Serif"

"Times"="Microsoft Sans Serif"

"Times New Roman Baltic,186"="Microsoft Sans Serif,186"

"Times New Roman CE,238"="Microsoft Sans Serif,238"

"Times New Roman CYR,204"="Microsoft Sans Serif,204"

"Times New Roman Greek,161"="Microsoft Sans Serif,161"

"Times New Roman TUR,162"="Microsoft Sans Serif,162"

"Tms Rmn"="Microsoft Sans Serif"

2.4 通过regedit命令注册上面新建的zh.reg文件

deepin-wine regedit zh.reg

2.5 编辑一个新文件link_zh.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"

2.4 通过regedit命令注册上面新建的link_zh.reg文件

deepin-wine regedit link_zh.reg

到此中文字体无法显示的问题应该就解决了。

deepin-wine中的程序无法缩小到任务栏

3.1 命令行安装 gnome-tweak-tool gnome-shell-extension-top-icons-plus

sudo apt install gnome-tweak-tool gnome-shell-extension-top-icons-plus

3.2 在app中 找到Extensions 图标,点击使能 Topicons Plus

image.png

deepin-wechat无法查看或发送图片

在终端执行以下命令

sudo apt install libjpeg62:i386

在桌面上创建微信的图标方便使用

5.1 从共享目录拷贝微信图标到桌面

cp /usr/share/applications/deepin.com.wechat.desktop ~/Desktop

image.png

5.2 允许启动(然后右键 allow lunching)

有图有真相

image.png

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

ubuntu20安装出现致命错误_Ubuntu 20.04安装deepin微信出现的问题及解决方法(全)... 的相关文章

随机推荐