【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栏。

三、常用命令

相关推荐
HaSaKing_7216 分钟前
二三级等保检测对比项
linux·服务器·网络
error:(37 分钟前
【Linux命令从入门到精通系列指南】export 命令详解:环境变量管理的核心利器
linux·运维·服务器
Yeats_Liao1 小时前
遗留系统微服务改造(四):从单体到微服务的演进之路
运维·微服务·架构
2301_793167991 小时前
网络管理部分
linux·运维·服务器·网络·php
序属秋秋秋1 小时前
《Linux系统编程之入门基础》【Linux的前世今生】
linux·运维·服务器·开源·unix·gnu
qiuiuiu4131 小时前
正点原子RK3568学习日记-GIT
linux·c语言·开发语言·单片机
搬砖的小码农_Sky1 小时前
Windows操作系统上`ping`命令的用法详解
运维·网络·windows
Janspran3 小时前
监控系统4 - LVGL | sqlite3 | mqtt
linux·sqlite3·嵌入式实时数据库
敲上瘾3 小时前
Docker镜像构建指南:Dockerfile语法与docker build命令全解析
linux·服务器·docker·微服务·容器
YC运维7 小时前
Dockerfile实战案例详解
运维·docker·容器