#!/usr/bin/bash set -eoux pipefail ############################################################################### # Transaction: Umbriel Wayland-Compositor (aus Terra nightly) ############################################################################### # Umbriel ist ein Wayland-Compositor (wlroots >= 0.20) von noctalia-dev. # Paket `umbriel-nightly` + `xdg-desktop-portal-umbriel-nightly` aus Terra. # Noctalia Shell (Paket `noctalia`, v5) bleibt als Desktop-Shell (Bar, # Launcher, OSD) und wird hier ebenfalls installiert. # Doku: https://docs.noctalia.dev/umbriel/ ############################################################################### echo "Installing Umbriel compositor + Noctalia Shell..." # Frische Metadaten erzwingen (Terra CDN-Desync-Schutz, siehe 10-repos.sh). dnf5 clean metadata 2>/dev/null || true # Terra-Hickup-Schutz: Pakete muessen sichtbar sein, sonst abbrechen. for pkg in umbriel-nightly xdg-desktop-portal-umbriel-nightly; do if ! dnf5 list available "${pkg}" 2>/dev/null | grep -q "${pkg}"; then echo "Terra liefert ${pkg} gerade nicht - Metadata-Refresh + 1 Retry..." dnf5 clean all dnf5 list available "${pkg}" 2>/dev/null | grep -q "${pkg}" \ || { echo "FEHLER: ${pkg} nicht in Terra (CDN-Hickup? spaeter neu bauen)"; exit 1; } fi done # Umbriel (Compositor) + Portal + Noctalia Shell (Desktop-Shell) FEDORA_VERSION="$(rpm -E %fedora)" dnf5 install -y \ --allowerasing \ umbriel-nightly \ xdg-desktop-portal-umbriel-nightly \ noctalia \ flatpak \ adw-gtk3-theme \ dconf \ gsettings-desktop-schemas \ "f${FEDORA_VERSION}-backgrounds-base" \ "f${FEDORA_VERSION}-backgrounds-gnome" \ fedora-workstation-backgrounds \ gnome-backgrounds dnf5 clean all # User-Service fuer Umbriel (systemd --user) aktivieren systemctl --global enable umbriel.service || true # Terra nach der Installation wieder entfernen (Atomic-Prinzip) rm -f /etc/yum.repos.d/terra*.repo /usr/share/dnf5/repos.d/terra*.repo dnf5 clean all