Ubuntu下安装QQ和微信

Deepin-wine QQ和WeChat安装

下载Deepin-wine环境

参考:

Ubuntu系列:Ubuntu安装deepin wine QQ, 微信…

ubuntu下QQ, 微信, 讯雷, 网盘等无痛安装, 解决高分辨率问题hidpi

由于之前的deepin软件源地址失效,所以记录一下在ubuntu上安装qq和微信的过程

gedit deepin-wine-install.sh #新建sh文件 将下面代码复制到文件中
sudo chmod +x ./deepin-wine-install.sh #变为可执行文件
sudo ./deepin-wine-install.sh #执行命令安装deepin-wine环境
#!/bin/bash
mkdir ./deepintemp
cd ./deepintemp
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget https://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
wget https://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb

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

QQ安装

wget https://packages.deepin.com/deepin/pool/non-free/d/deepin.com.qq.im/deepin.com.qq.im_9.1.8deepin0_i386.deb
sudo dpkg -i deepin.com.qq.im_9.1.8deepin0_i386.deb

WeChat安装

wget https://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.8.65deepin0_i386.deb
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb

高分辨率屏适配问题

在高分辨率屏下,安装后先打开一次QQ或微信,会发现缩放太小。

可对该容器下进行缩放设置来解决这问题。

  1. 先关闭打开的程序
  2. 执行如下命令
#QQ分辨率设置
env WINEPREFIX="$HOME/.deepinwine/Deepin-QQ" /usr/bin/deepin-wine winecfg
#微信分辨率设置
env WINEPREFIX="$HOME/.deepinwine/Deepin-WeChat" /usr/bin/deepin-wine winecfg

$HOME/.deepinwine/Deepin-**:一般是默认路径,如果安装的路径不一样,自行更改。

  1. 找到显示页面,然后在该页面下找到屏幕分辨率,一般将dpi设置为150即可。

你可能感兴趣的:(linux)