Ubuntu 24.04 美化教程(持续更新)

2025-09-20 整点花活 77 0

装基础工具

sudo apt update
sudo apt install -y gnome-tweaks gnome-shell-extension-manager git unzip

GNOME Tweaks 改主题、字体;Extension Manager 装扩展最省事

主题 / 图标 / 光标(WhiteSur 家族)

# 主题(GTK + Shell)
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme --depth=1
cd WhiteSur-gtk-theme
# 安装并给 GTK4/libadwaita 做兼容(可选:light/dark 自己挑)
./install.sh
./install.sh -l -c light        # 给 GTK4 覆盖式上主题(有取舍,见下)
cd ..

# 图标
git clone https://github.com/vinceliuice/WhiteSur-icon-theme --depth=1
cd WhiteSur-icon-theme && sudo ./install.sh && cd ..

# 光标(任选其一)
git clone https://github.com/vinceliuice/McMojave-cursors --depth=1
cd McMojave-cursors && sudo ./install.sh && cd ..
# 或者
# git clone https://github.com/vinceliuice/WhiteSur-cursors --depth=1
# cd WhiteSur-cursors && sudo ./install.sh && cd ..
  • 应用主题的方法:打开 “优化(Tweaks)” → 外观里把 Applications / Shell / Icons / Cursor 都切到 WhiteSur/McMojave 即可。
  • 回退用 sudo ./tweaks.sh -g -r。主题回退:./install.sh -r

装扩展,让 Dock 和毛玻璃像 macOS

打开 Extension Manager 搜索并安装:

  • User Themes(启用 Shell 主题载入)
  • Dash to Dock(把概览里的 Dash 拉出来当 Dock)
  • Blur my Shell(顶栏/概览/面板毛玻璃)

装完重登/重启 GNOME 会话。

Dash to Dock 推荐设置(右键“显示应用”点设置):

  • 位置:Bottom;启用 Intelligent Autohide;图标大小 44–52;圆角/阴影随意
  • 隐藏“应用网格”按钮、显示回收站,看起来更像 macOS 码头。

字体

Inter:开源、外观接近 SF Pro,最省心

sudo apt install -y fonts-inter-variable
# 可在 Tweaks 调“界面字体”为 Inter,或:
gsettings set org.gnome.desktop.interface font-name 'Inter Variable 11'
2025-09-20 06:54:04 Ubuntu Linux