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

以后看不看不重要,咱就是想记点儿东西。

在这里插入图片描述

一、终端美化

安装oh my posh,参考链接:Linux 终端美化
1、安装字体
oh my posh美化工具可以使用合适的字体,如Agave Nerd Font。安装后配置到终端,如果不使用该字体,可能有些图标无法显示。
安装方法:解压后将.ttf文件放入~/.fonts下即可。
2、可执行文件oh-my-posh

//下载
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主题

//下载解压到.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字体颜色

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

5、更新环境变量

. .bashrc

二、桌面美化

2.1 插件安装

  • tweaks/优化
sudo apt install gnome-tweaks gnome-shell-extensions -y
  • User Themes 插件
    浏览器进入插件官网:https://extensions.gnome.org/,根据提示安装浏览器插件,再安装User Themes 插件。

2.2 主题和图标

//下载
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栏。

三、常用命令

相关推荐

  1. 体验ubuntu,windows双系统

    2024-02-13 00:14:02       61 阅读
  2. 基于Linux系统使用Kind快速安装体验kubernetes

    2024-02-13 00:14:02       57 阅读
  3. linux系统简述docker

    2024-02-13 00:14:02       43 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-13 00:14:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-13 00:14:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-13 00:14:02       82 阅读
  4. Python语言-面向对象

    2024-02-13 00:14:02       91 阅读

热门阅读

  1. 老兵(10)

    2024-02-13 00:14:02       44 阅读
  2. redis过期淘汰策略、数据过期策略与持久化方式

    2024-02-13 00:14:02       56 阅读
  3. python 对Windows关机/重启/锁屏

    2024-02-13 00:14:02       45 阅读
  4. Swagger2

    2024-02-13 00:14:02       50 阅读
  5. Spring Boot + Lua = 王炸!

    2024-02-13 00:14:02       43 阅读
  6. 【嵌入式开发】70

    2024-02-13 00:14:02       45 阅读
  7. STM32 7-8

    STM32 7-8

    2024-02-13 00:14:02      39 阅读
  8. C++ 同构数,的问题。

    2024-02-13 00:14:02       51 阅读
  9. H5/CSS 笔试面试考题(41-50)

    2024-02-13 00:14:02       48 阅读
  10. H5/CSS 笔试面试考题(51-60)

    2024-02-13 00:14:02       50 阅读
  11. ZooKeeper分布式锁

    2024-02-13 00:14:02       45 阅读
  12. C语言:表达式求值

    2024-02-13 00:14:02       54 阅读
  13. 【嵌入式开发】72

    2024-02-13 00:14:02       42 阅读
  14. Pandas to_csv() - 将 DataFrame 转换为 CSV

    2024-02-13 00:14:02       44 阅读
  15. leetcode81 搜索旋转排序数组 II

    2024-02-13 00:14:02       61 阅读
  16. 数据结构基础

    2024-02-13 00:14:02       48 阅读