使用Linux Mint小记

Posted 努力吧阿团

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用Linux Mint小记相关的知识,希望对你有一定的参考价值。

最近想把windows换成linux使用,体验一把Linux mint,再此纪录一下过程。

安装

最新版19.3,选择第一项,进入mini,点击光盘开始安装。

 

更改软件源

image

image

sudo apt-get update
sudo apt-get upgrade

 

安装中文输入法

image

安装多媒体插件

sudo apt-get install mint-meta-codecs

 

安装最新驱动程序

image

 

安装WPS

https://www.wps.cn/product/wpslinux

 

任务栏消失

dconf reset -f /

 

创建桌面快捷方式

tz@tz-pc:~/Desktop$ cat firefox.desktop
[Desktop Entry]
Name=firefox
Comment=firefox
Exec=/home/tz/Software/firefox/firefox
Icon=/home/tz/Software/firefox/browser/chrome/icons/default/default64.png
Terminal=false
Type=Application
Categories=Application;
Encoding=UTF-8
StartupNotify=true

显示在任务栏中

tz@tz-pc:~/Desktop$ sudo cp firefox.desktop /usr/share/applications/

 

进程被锁定

ps -e | grep apt
   8888 pts/0    00:00:01 apt-get

kill掉

sudo kill 8888

 

安装deepin-wineQQ微信

脚本如下

tz@tz-pc:~/Downloads$ cat deepin.sh
#!/bin/bash
cd deepin
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
echo 正在安装........
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
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb
#64位要添加32位库,32位可无视(下一行)
sudo dpkg --add-architecture i386
#更新
sudo apt update
sudo dpkg -i *.deb
#解决依赖问题
sudo apt install -fy
#重新安装
sudo dpkg -i *.deb

将QQ接收文件快捷方式到桌面

tz@tz-pc:~/Desktop$ ln -s /home/tz/.deepinwine/Deepin-QQ/drive_c/users/tz/\'My Documents\'/\'Tencent Files\'/151039*/FileRecv/MobileFile .

 

 

解决中文字体为小方块问题

找到windows字体库路径

C:\\Windows\\Fonts

复制到Linux的/usr/share/fonts文件中

加载字体库中的字体

fc-cache -fv

查看linux上的字体

fc-list

以上是关于使用Linux Mint小记的主要内容,如果未能解决你的问题,请参考以下文章

Mint-UI

MUI

[linux mint]Win7 + Linux mint安装(含eclipseericandroid studiopycharm等安装)

Android Studio 4.0.1 (Linux Mint) 中没有文档

linux mint(UbuntuDebian) 18修改环境变量

在Linux Mint 19 / Linux Mint 18上安装VirtualBox 6.0 / 5.2