【linux系统体验】-ubuntu简易折腾

ubuntu

一、终端美化

安装oh my posh,参考链接:Linux 终端美化

1、安装字体

oh my posh美化工具可以使用合适的字体,如Agave Nerd Font。安装后配置到终端,如果不使用该字体,可能有些图标无法显示。

安装方法:解压后将.ttf文件放入~/.fonts下即可。

2、可执行文件oh-my-posh

bash 复制代码
//下载
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
//记得赋予可执行权限
chmod +x /usr/local/bin/oh-my-posh

3、配置oh-my-posh主题

bash 复制代码
//下载解压到.poshthemes
mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.json
//配置到用户环境变量~/.bashrc,推荐主题 1_shell M365Princess montys
eval "$(oh-my-posh init bash --config ~/.poshthemes/M365Princess.omp.json)"

4、配置oh-my-posh字体颜色

bash 复制代码
//下载解压到.poshdircolors
git clone https://gitee.com/wq870406/dircolors-solarized.git
//配置到用户环境变量~/.bashrc
eval `dircolors ~/.poshdircolors/dircolors.ansi-light`

5、更新环境变量

bash 复制代码
. .bashrc

二、桌面美化

2.1 插件安装

  • tweaks/优化
bash 复制代码
sudo apt install gnome-tweaks gnome-shell-extensions -y

2.2 主题和图标

bash 复制代码
//下载
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git
//进入目录安装
./install.sh -t all -N glassy -s 220
  • 图标,下载链接:Mkos-Big-Sur,也可以选择其他心仪的图标。
    将压缩包解压到~/.icons目录下,

2.3 美化配置

  • 搜索打开tweaks / 美化应用,主要调整Icons / 图标ShellLegacy Applications
  • 设置-外观,调整Dock栏。

三、常用命令

相关推荐
KoiHeng8 分钟前
操作系统简要知识
linux·笔记
Johny_Zhao4 小时前
Docker + CentOS 部署 Zookeeper 集群 + Kubernetes Operator 自动化运维方案
linux·网络安全·docker·信息安全·zookeeper·kubernetes·云计算·系统运维
小毛驴8504 小时前
Linux 后台启动java jar 程序 nohup java -jar
java·linux·jar
一心0925 小时前
ubuntu 20.04.6 sudo 源码包在线升级到1.9.17p1
运维·ubuntu·sudo·漏洞升级
好好学习啊天天向上5 小时前
世上最全:ubuntu 上及天河超算上源码编译llvm遇到的坑,cmake,ninja完整过程
linux·运维·ubuntu·自动性能优化
你想考研啊6 小时前
三、jenkins使用tomcat部署项目
运维·tomcat·jenkins
tan180°6 小时前
MySQL表的操作(3)
linux·数据库·c++·vscode·后端·mysql
代码老y6 小时前
Docker:容器化技术的基石与实践指南
运维·docker·容器
典学长编程7 小时前
Linux操作系统从入门到精通!第二天(命令行)
linux·运维·chrome
wuk9987 小时前
基于MATLAB编制的锂离子电池伪二维模型
linux·windows·github