安装中文输入法的方式比较简单,执行下列命令即可:
sudo apt install ibus-libpinyin
sudo apt install ibus-clutter
然后点击setting-regin&language-input sources下的“+”符号选择添加“chinese(intelligent pinyin)"选项,重启生效
如果input sources下的“+”符号选择中没有该项的话也可以重启后查看是否存在,当时我是重启后才出现该选项。
微信的安装过程相对而言其实也很简单,就是装完之后使用中遇到了一些小问题,具体过程如下:
安装QQ微信之前,需要安装deepin wine
1、安装deepin wine
终端输入指令:
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
安装完成后,会提示你怎么安装QQ微信
2、安装微信
sudo apt-get install deepin.com.wechat
同样有需要的话也可以使用下列命令安装QQ等其他工具:
安装QQ
sudo apt-get install deepin.com.qq.im
安装百度网盘
sudo apt-get install deepin.com.baidu.pan
安装TIM
sudo apt-get install deepin.com.qq.office
安装QQ极速度版
sudo apt-get install deepin.com.qq.light
微信使用中遇到的问题:
打开微信时,会出现微信可以显示英文但是中文会变成一个个框无法正常显示,百度找到了两种解决方式:
方式1:修改配置文件(有可能这一步设置后微信仍然无法正常显示为中文)
修改/opt/deepinwine/tools/run.sh 文件,将 WINE_CMD 那一行修改为 WINE_CMD=“LC_ALL=zh_CN.UTF-8 deepin-wine”
该方法对我并未生效,包括我还修改了run_v2.sh 文件中的WINE_CMD 那一行修改为 WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"也没有生效
以及包括在语句WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"下添加以下输出:
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
export XMODIFIERS="@im=ibus"
仍然未起作用。
方式2:下载字体并添加
从以下网址下载“微软雅黑”字体:
https://github.com/ivandon15/Fonts
下载后在download文件夹下,解压并重命名为msyh.ttc,其实应该也可以不用重命名,但是后面一些相关的名字要替换一下,太麻烦了还是重命名一下这个快一点。
然后是拷贝字体:
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
这一步是将msyh.ttc拷贝到~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts目录下,该目录为隐藏目录,在home文件夹下。
接下来修改系统注册表:
gedit ~/.deepinwine/Deepin-WeChat/system.reg
修改以下两行:
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
这个注册表非常的长不好找,直接ctrl+F查找"MS Shell Dlg"可以直接定位到该位置。
字体注册:
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"
最后注册:
WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine regedit msyh_config.reg
这里我报了个错误:deepin-wine: command not found
但是我重启后发现微信的字体问题还是解决了,有点问题但是好像又没有问题。
另外无法发送图片的问题似乎可以通过下列命令解决,暂时还没有试过,先行记录:
sudo apt install libjpeg62:i386
参考:
https://blog.csdn.net/yyj108317/article/details/106001083
https://blog.csdn.net/qq_39236499/article/details/108983709#commentBox
https://blog.csdn.net/weixin_55523675/article/details/114383209#commentBox
https://blog.csdn.net/weixin_32830601/article/details/113029718
https://www.jianshu.com/p/3f3c1c0adb0b