继上午Ubuntu卡死在不能加载2个磁盘,进不了桌面系统后,想看看问题点出在哪,不然时不时一上午的也很费尽。破案了。VMware workstation 崩了导致进步了桌面系统,应该是着急关机没有预先关虚拟机直接关了ubuntu。
卸载VMware workstation15.1
sudo vmware-installer -u vmware-workstation
下载地址:https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html选择linux版本
chmod +x VMware-Workstation-Full-14.1.3-9474260.x86_64.bundle
sudo ./VMware-Workstation-Full-14.1.3-9474260.x86_64.bundle
安装既可以了。
许可证好像不允许发布在博客了,自己百度一个都可以用。
系统之家下载。
创建虚拟机
创建很简单一路默认
给下个人的win7配置参数
4GB内存
50GB 硬盘存储
wine32安装微信、QQ
#!/bin/bash
mkdir ./deepintemp
cd ./deepintemp
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb --no-check-certificate
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb --no-check-certificate
echo '准备添加32位支持'
sudo dpkg --add-architecture i386
echo '添加成功,准备刷新apt缓存信息...'
sudo apt update
echo '即将开始安装...'
sudo dpkg -i *.deb
echo '安装完成,正在自动安装依赖...'
sudo apt install -fy
rm -vfr ./deepintemp
运行完不出现任何报错就是成功了
微信安装包:https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.wechat/选择最新的版本
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb
登陆的时候会有中文乱码
修改 run.sh 和 run_v2.sh 文件(操作都是一样的)
cd /opt/deepinwine/tools路径下
vim run.shrun.sh 和 run_v2.sh
修改 WINE_CMD,并添加三个 export 语句,内容如下
#WINE_CMD="deepin-wine"
WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"
#added by user
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
export XMODIFIERS="@im=ibus"
添加字体文件支持
1.下载字体msyh.ttc
https://www.lanzous.com/i5wivmd
解压之后复制到字体库
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.字体注册
sudo vim 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
成功
主要目的 a. 掌握获取 GridPanel 当前行的各个字段值的方法 b. 掌握如何将前台数...
例如: 我们在百度中搜索 尊托云数,则网址后面的参数就是 http://www.baidu.com/...
本文实例为大家分享了js实现电灯开关效果的具体代码,供大家参考,具体内容如下 ...
关于我的SWFObject V1.5的使用过程,以 上篇 中的介绍暂时告一段落了,下面我将...
Asp 解析 XML并分页显示,示例源码如下: 复制代码 代码如下: !DOCTYPE html PUB...
发现每个编辑实例都可以加载不同的css样式表,而且其样式不继承 页面的css。 于...
Mysql数据库五——mysql事务及引擎 一、事务 1、事务的概念 2、事务的ACID特点 ...
接着昨天的,如果forEach中的items类型是map或者Collection类型的,怎样使用增强...
我之前写过一个简易版的自动+手动轮播图: 简易轮播图 但是这个轮播图在切换的时...
如果你很在意你的终端的外观的话,一个跨 shell 的提示符可以让你轻松地定制和配...