Windows10安装Terminal终端美化优化Linux的Ubuntu20.04子系统换字体背景换阿里云国内源

26 篇文章 1 订阅
3 篇文章 0 订阅

这是一期美化优化子系统的教程!可以更替换字体和自己喜欢的背景
美化配置文件链接:https://pan.baidu.com/s/1kmmoKnOAON6SsCHL3xKoWw
提取码:aeyz


这文件是来自b站大佬的但太久了忘记是哪个大佬了,抱歉


没有安装子系统的可以看一下上期的安装教程–>微双系统—Windows10上安装Linux的Ubuntu20.04-子系统教程

在这里插入图片描述

点击开始(Windows建再打开 微软商店
在这里插入图片描述

打开微软商店后 搜索 Terminal下载Windows Terminal在这里插入图片描述

进去点击下载,再启动

在这里插入图片描述

点击下角键 再点击设置

在这里插入图片描述

把上面放的美化文件打开 把里面的所有东西复制到刚刚打开设置全部删了或者覆盖它,把美化文件里面的东西都粘贴进去
在这里插入图片描述

删除/覆盖完后 往下拉找到你的系统名字
在这里插入图片描述

往上拉找到上面例子把它复制
在这里插入图片描述

把上面的复制后粘贴到自己子系统下面,注意在我箭头方向前面加个逗号要英文的

在这里插入图片描述
图片的路径样式需要更改一下,下面是样式

在这里插入图片描述
背景这样就更改完了,下面是效果图,不再是那么单调的颜色了。还有其它想改的字体或者是字体颜色、型号看上面的注释来改就可以了
在这里插入图片描述

想打开软件就是自己的子系统而不是Windows powershell可以复制自己系统头顶上的一串数字码

在这里插入图片描述

回到顶上把复制的数字码粘贴到框里面去
在这里插入图片描述

换国内源!因为子系统自带的下载源基本是国外源所以下载起来很慢!这时候就需要换成国内源

打开子系统后输入
sudo vi /etc/apt/sources.list
再输入自己的 密码

进入到里面后 按 小写 i 左下角出现INSERT之后 在所有的英文前加个 # 来注释它!
在这里插入图片描述全部注释后 再复制下面的源代码粘贴进去 最下面有备用源


deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse


粘贴完后按 ESC建后 再按 :wq回车 来保存退出
在这里插入图片描述
退出来后再输入下面的代码来更新我们的修改
sudo apt-get update && sudo apt-get upgrade
提示输入一下密码 然后等待更新完就可以了

在这里插入图片描述

输入 y
在这里插入图片描述
然后在这里下载个gcc 试一下就可以发现下载速度快很多了
sudo apt-get install gcc
在这里插入图片描述

到这里教程就完成了!

备用源
vim /etc/apt/sources.list

deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted
deb http://mirrors.aliyun.com/ubuntu/ focal universe
deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe
deb http://mirrors.aliyun.com/ubuntu/ focal multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ focal-security universe
deb http://mirrors.aliyun.com/ubuntu/ focal-security multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiv
erse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe m
ultiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted univer
se multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe mu
ltiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted univers
e multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe m
ultiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted univer
se multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe 
multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted unive
rse multiverse
  • 10
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值