From 4221ae6e21c0e26cc0261ef6d562c2fa572ea08b Mon Sep 17 00:00:00 2001 From: Rick Peters Date: Wed, 14 Oct 2026 14:54:27 +0200 Subject: [PATCH] GNOME theme: register the extensions' schemas for GNOME Settings --- lib/gnome-theme.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/gnome-theme.sh b/lib/gnome-theme.sh index 50d4178..9cac197 100644 --- a/lib/gnome-theme.sh +++ b/lib/gnome-theme.sh @@ -54,6 +54,13 @@ gnometheme_extensions_install() { fi rm -f "$file" fi + # GNOME Settings' Desktop panel finds the settings of the dock and of tiling in the default schema folders. + local schemas="${XDG_DATA_HOME:-$HOME/.local/share}/glib-2.0/schemas" ext + mkdir -p "$schemas" + for ext in ubuntu-dock@ubuntu.com tiling-assistant@ubuntu.com; do + cp "$GNOME_USER_EXTENSIONS/$ext"/schemas/*.gschema.xml "$schemas/" 2>/dev/null + done + glib-compile-schemas "$schemas" 2>/dev/null dir="$GNOME_USER_EXTENSIONS/steamify-vapor@steamify.github.io" mkdir -p "$dir" patch_file steamify-vapor.js > "$dir/extension.js"