Linux Mint 20 安装微信

最近 Linux Mint 20 发布了,手痒又折腾了一下。体验了几天,个人感觉非常好,就是国产那堆应用安装麻烦了一点。感谢 deepin 对很多国产应用做了移植,适配工作,让我们可以直接在 debian 系的系统上直接安装使用。下面以安装微信为例说明一下在 debian 系的系统上怎么安装 deepin 适配过的部分国产应用。

1. 添加 apt source

在 /etc/apt/sources.list.d/ 目录下新建文件 deepin-wine.list,内容如下:

1
deb [trusted=yes] https://deepin-wine.i-m.dev /

deepin 把QQ/微信之类的 deepin wine 应用打包放在了 deepin 仓库中,因此先提取出这些应用及依赖的软件包,再减去 Debian/Ubuntu 等发行版官方仓库中固有的软件包,就可以打包成一个移植于对应发行版的“差量仓库”。感谢这个仓库的作者 https://github.com/zq1997/deepin-wine ,想了解更多的细节的话,可以去这个仓库看看。

2. 刷新软件源

1
sudo apt update

3. 查看 deepin-wine 相关的软件包

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
mint@mint-pc:~$ apt search deepin
p deepin-calculator - Calculator for DDE (Deepin Desktop Environment)
p deepin-deb-installer - Deepin Package Manager
i A deepin-fonts-wine - Windows API implementation - fonts
v deepin-fonts-wine:i386 -
p deepin-gettext-tools - Deepin Internationalization utilities
p deepin-icon-theme - Icon Theme for Deepin software and Deepin Desktop Environment
p deepin-image-viewer - Image Viewer for Deepin Desktop Environment
i A deepin-libwine:i386 - Windows API implementation - library
p deepin-menu - Deepin menu service
p deepin-movie - Deepin movie player
p deepin-music - music player with brilliant and tweakful UI
p deepin-notifications - System notifications for Deepin Desktop Environment
p deepin-picker - Color picker tool for deepin
p deepin-screen-recorder - Simple recorder tools for deepin 视频录制工具
p deepin-screenshot - Advanced screen shoting tool 截图工具
p deepin-shortcut-viewer - Pop-up shortcut viewer for Deepin applications
p deepin-terminal - Deepin terminal emulator application
p deepin-voice-recorder - Deepin's Voice recorder 录音工具
i A deepin-wine - Windows API implementation - standard suite
v deepin-wine:i386 -
i A deepin-wine-helper:i386 - Deepin Wine Helper
v deepin-wine-plugin -
i A deepin-wine-plugin:i386 - Deepin Wine plugin
i A deepin-wine-plugin-virtual - Deepin Wine plugin virtual package
v deepin-wine-plugin-virtual:i386 -
i A deepin-wine-uninstaller:i386 - Deepin Wine Uninstaller Tool
v deepin-wine32 -
i A deepin-wine32:i386 - Windows API implementation - 32-bit binary loader
i A deepin-wine32-preloader:i386 - Windows API implementation - prelinked 32-bit binary loader
p deepin.cn.360.yasuo:i386 - 360zip on Deepin Wine
p deepin.cn.com.winrar:i386 - WinRAR on Deepin Wine
p deepin.com.95579.cjsc:i386 - CHANGJIANG SECURITIES Client on Deepin Wine
p deepin.com.aaa-logo:i386 - SWGSoft AAALogo on Deepin Wine
p deepin.com.baidu.pan:i386 - Baidu net disk client on Deepin Wine 百度网盘
p deepin.com.cmbchina:i386 - CMBChina Client on Deepin Wine
i deepin.com.foxmail:i386 - Tencent Foxmail Client on Deepin Wine
p deepin.com.gtja.fuyi:i386 - GUOTAI JUNAN SECURITIES RichEasy Client on Deepin Wine
p deepin.com.qq.b.crm:i386 - Tencent bizQQ Client on Deepin Wine
p deepin.com.qq.b.eim:i386 - Tencent QQEIM Client on Deepin Wine
p deepin.com.qq.im:i386 - Tencent QQ Client on Deepin Wine QQ
p deepin.com.qq.im.light:i386 - Tencent QQ Client on Deepin Wine TIM
p deepin.com.qq.office:i386 - Tencent TIM Client on Deepin Wine
p deepin.com.qq.rtx2015:i386 - Tencent QQ Client on Deepin Wine
p deepin.com.taobao.aliclient.qianniu:i386 - Ali Qian Niu Client on Deepin Wine 阿里千牛
p deepin.com.taobao.wangwang:i386 - Ali WangWang Client on Deepin Wine 阿里旺旺
p deepin.com.thunderspeed:i386 - Thunder Speed Client on Deepin Wine 迅雷下载
i deepin.com.wechat:i386 - Tencent WeChat Client on Deepin Wine 微信
p deepin.com.weixin.work:i386 - Tencent WeChat Work Client on Deepin Wine 企业微信
p deepin.net.263.em:i386 - 263 EM Client on Deepin Wine
p deepin.org.7-zip:i386 - 7-Zip on Deepin Wine
p deepin.org.foobar2000:i386 - Foobar2000 on Deepin Wine
v deepinwine-cmbchina:i386 -
v libqt5deepintheme-plugin -
mint@mint-pc:~$

根据包名大概可以知道是哪些软件。

4. 安装微信

只要执行以下命令即可

1
sudo apt install deepin.com.wechat

5. 截图

默认的截图快捷键是 Alt + A,但这个快捷键可能被系统占用了,所以我们需要修改一下快捷键。
在微信设置里面有快捷键设置,把截图快捷键改为 Ctrl + Alt + A 即可。