deepin wechat 中文乱码解决方案 Ubuntu18.04

解决方案一、当Ubuntu18.04(Linux)为非中文状态时

gedit /opt/deepinwine/tools/run.sh

找到WINE_CMD
修改为:

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

解决方案二、使用通用字体微软雅黑

**备注:最好在实行方案一后,再实行方案二,同时实行,双管齐下 **

  • 1、修改字体
    下载字体msyh.ttc,

下载地址一:蓝奏云 (推荐)https://www.lanzous.com/i5wivmd
下载地址二:百度网盘 链接: https://pan.baidu.com/s/1rkjkmGJlpdaijCEWi7TZIw 提取码: btxw

将下载的字体解压,然后:

cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
  • 2、修改系统注册表
gedit ~/.deepinwine/Deepin-WeChat/system.reg

更改以下两行内容为:

"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
  • 3、字体注册
gedit msyh_config.reg

在文件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"

注册

deepin-wine regedit msyh_config.reg
  • 21
    点赞
  • 41
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 33
    评论
在Ubuntu 18.04上安装微信,可以使用Deepin-Wine环境来实现。 首先,需要将Deepin-wine-for-ubuntu Git仓库的内容克隆到本地。你可以选择使用Gitee或Github进行克隆操作。以下是使用Gitee进行克隆的命令: ``` git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git cd deepin-wine-for-ubuntu ``` 接下来,你可以选择运行install.sh脚本或者运行以下脚本来安装Deepin-Wine环境: ``` 最好选择这个,否则责任自负 chmod +x install.sh sudo ./install.sh ``` 安装完Deepin-Wine环境后,你可以通过执行以下命令来安装Deepin版本的微信: ``` wget -qO- https://raw.githubusercontent.com/wszqkzqk/deepin-wine-ubuntu/master/online_install.sh | bash -e ``` 这个命令会自动下载并安装最新Release版本的Deepin-Wine-Ubuntu微信。 请注意,以上操作仅适用于Ubuntu 18.04,对于Ubuntu 20.04不适用。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Ubuntu18.04 上 安装微信(Deepin-Wechat)](https://blog.csdn.net/lxy_2011/article/details/120563642)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [ubuntu(四)Ubuntu18.04安装微信](https://blog.csdn.net/qq_39708228/article/details/115536926)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 33
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

剑圣开大跑

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值