Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Linux

คู่มือเปลี่ยน GNOME Theme บน Ubuntu แบบขั้นตอน

หา Theme ที่ไหน?

  • GNOME-look.org - แหล่งหลัก มี Icon, Application (GTK), Shell (Desktop) Themes
  • DeviantArt - ค้นหาเพิ่มเติม

ติดตั้ง Theme (ส่วนใหญ่เป็น .tar.gz/.tar.xz)

Icon Themes

วางใน ~/.icons (Hidden Folder: Ctrl+H เพื่อดู) สร้างโฟลเดอร์เองถ้ายังไม่มี

GNOME Shell Themes

วางใน ~/.themes เปลี่ยน Top Panel, Menus, Activities Overview

GTK Themes (Application Themes)

วางใน ~/.themes เปลี่ยน Header Bars, Sidebars, Colors ของ Apps

ใช้ GNOME Tweaks ใส่ Theme

sudo apt install gnome-tweaks
  1. เปิด GNOME Tweaks → Appearance
  2. เลือก Theme ใน Applications (GTK), Icons, Shell
  3. เห็น Theme ที่ติดตั้งเองปรากฎในลิสต์

ปัญหา Snap Apps และ Theme

GTK Theme ไม่ครอบ Snap Apps (Firefox, Snap Store ฯลฯ) จะมี Popup: "Some required theme snaps are missing. Install now?"

  • กด Install → หา Theme Snap (เช่น orchis-themes) ติดตั้ง
  • เชื่อม Theme กับ Snap Apps:
    
    # ทุก Snap Apps ที่มี gtk-3-themes interface
    for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i orchis-themes:gtk-3-themes; done
    
    # App เฉพาะตัว
    sudo snap connect [snap-app-name]:gtk-3-themes orchis-themes:gtk-3-themes
    

ซับซ้อนและไม่สมบูรณ์ เพราะ GNOME Devs ไม่สนับสนุน Theming Snap ใส่ Canonical Push Snap