Debian 11 Bullseye 个性化主题定制指南
适用范围与准备
sudo apt update && sudo apt install -y gnome-tweaks chrome-gnome-shell,若使用 Wayland 遇到扩展兼容问题,可在登录界面选择 GNOME on Xorg 再继续定制。GNOME 桌面主题定制步骤
sudo apt install gnome-tweaks。mkdir -p ~/.themes && tar xf theme.tar.xz -C ~/.themes;如需全局可用,解压到 /usr/share/themes。常见主题类型包括:GTK3 Themes(应用界面)、GNOME Shell Themes(顶栏/活动概览)、Icons(图标)、Cursors(光标)。gsettings set org.gnome.desktop.interface gtk-theme 'YourGTKTheme';Shell 主题需 User themes 扩展启用后生效。KDE Plasma 桌面主题定制要点
~/.local/share/plasma/desktoptheme 调整 SVG 资源(如阴影/透明度);使用 Plasma Theme Editor 微调窗口装饰等细节。~/.local/share/icons,在系统设置中激活;适配 HiDPI 可提供 @2x 资源。index.theme 声明 AnimatedIcons=true);可用 DBus/KScript 自动化主题切换、壁纸设置等(如 qdbus org.kde.plasmashell ... 设置壁纸)。登录与启动画面美化
sudo apt install sddm-theme-meilix;在 /usr/share/sddm/themes/ 查看可用主题,编辑 /etc/sddm.conf 的 [Theme] 段选择主题:Theme=meilix。sudo apt install plymouth-theme-meilix-logo;注册并选择主题:
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/meilix-logo/meilix-logo.plymouth 100sudo update-alternatives --config default.plymouthsudo update-initramfs -u -k allsudo apt install plymouth-x11,然后 sudo plymouthd; sudo plymouth --show-splash,可用 sudo plymouth --update="进度: 50%" 模拟进度。sudo update-alternatives --install /usr/share/images/desktop-base/spacefun-grub.png desktop-grub /usr/share/images/desktop-base/grub-splash.png 20sudo update-alternatives --config desktop-grubWALLPAPER 与 COLOR_NORMAL/COLOR_HIGHLIGHT 后更新 grub 配置并重启。常见问题与排错
~/.themes/主题名/gtk-3.0/gtk.css;全局:/usr/share/themes/...);GNOME Shell 主题需启用 User themes 扩展;必要时 Alt+F2 → r 重启 Shell。sudo update-initramfs -u -k all;GRUB 修改后执行 sudo update-grub 并重启。对关键系统操作前建议备份 /boot。