先装deepin
sudo apt-get install -y build-essential git
cd ~
git clone https://github.com/wszqkzqk/deepin-wine-ubuntu.git
cd deepin-wine-ubuntu
./install.sh
如果出现错误就
sudo apt --fix-broken install -y
./install.sh
然后看看你要装qq,tim,微信还是什么
去这个网站https://packages.deepin.com/deepin/pool/non-free/d/
下载下来
以qq为例
sudo dpkg -i deepin.com.qq.im_9.1.8deepin0_i386.deb
然后win+a找一下qq,启动(不能启动就重启一下,应该就能启动了
然后你就会发现乱码了
所以我们装个字体
sudo apt install -y fonts-wqy-microhei fonts-wqy-zenhei
sudo apt-get install -y ttf-wqy-microhei
sudo apt-get install -y ttf-wqy-zenhei
sudo apt-get install -y xfonts-wqy
修改配置配件
sudo vim /opt/deepinwine/tools/run.sh
把WINE_CMD=“deepin-wine”
修改为WINE_CMD=“LC_ALL=zh_CN.UTF-8 deepin-wine”
登入后,提示要装flash
sudo ln -sf /usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1.0 /usr/lib/i386-linux-gnu/deepin-wine/libwine.so.1
wget -P ~/.deepinwine/Deepin-TIM/drive_c https://www.flash.cn/flashplayer/3000113/install_flash_player_ppapi_cn.exe -O ~/.deepinwine/Deepin-TIM/drive_c/install_flash_player_ppapi.exe
WINEPREFIX=~/.deepinwine/Deepin-TIM deepin-wine "c:\\install_flash_player_ppapi.exe"
编写脚本比如a.sh
写入
#!/bin/bash
echo 建立临时目录/tmp/flash_download
mkdir /tmp/flash_download
rm /tmp/flash_download/*
echo 进入目录/tmp/flash_download
cd /tmp/flash_download
echo 正在从https://www.flash.cn/flashplayer/3000113/下载install_flash_player_ppapi_cn.exe
wget https://www.flash.cn/flashplayer/3000113/install_flash_player_ppapi_cn.exe
echo 文件下载完成,正在初始化安装环境
export WINEPREFIX=~/.deepinwine/Deepin-TIM
echo 正在安装install_flash_player_ppapi_cn.exe到~/.deepinwine/Deepin-TIM
deepin-wine install_flash_player_ppapi_cn.exe
echo 删除下载文件及目录
rm /tmp/flash_download/*
rmdir /tmp/flash_download
echo 安装结束
然后
chmod a+x a.sh
sudo sh a.sh
然后解决头像很古老
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
安装TopIcons Plus
sudo apt install -y gnome-tweak-tool
进入https://extensions.gnome.org/extension/1031/topicons/
sudo apt install -y gnome-tweak-tool
sudo apt-get install -y gnome-shell-extension-top-icons-plus gnome-tweaks
git clone https://github.com/phocean/TopIcons-plus.git
cd TopIcons-plus
sudo apt-get install make
sudo make install INSTALL_PATH=/usr/share/gnome-shell/extensions
按alt+f2
输入r,回车
重启
安装微信
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
sudo apt-get install com.qq.weixin.deepin
然后把语言改中文