feat: auf Umbriel-Compositor umsteigen (Floating/Stacking, Terra nightly)
This commit is contained in:
1 parent
50b7939900
commit
72975f521a
16 files changed
+229
-103
No files matched your search
@@ -80,7 +80,7 @@ jobs:
|
|||||||
echo "IS_TEST_BUILD=true" >> "${GITHUB_ENV}"
|
echo "IS_TEST_BUILD=true" >> "${GITHUB_ENV}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cache pro Branch: main (Kinoite) und feat/labwc-noctalia (bootc)
|
# Cache pro Branch: main (Kinoite) und feat/umbriel (bootc)
|
||||||
# haben unterschiedliche Basis-Images. Ein gemeinsamer Cache-Tag
|
# haben unterschiedliche Basis-Images. Ein gemeinsamer Cache-Tag
|
||||||
# wuerde sich gegenseitig ueberschreiben und die Trefferquote auf
|
# wuerde sich gegenseitig ueberschreiben und die Trefferquote auf
|
||||||
# nahezu null druecken.
|
# nahezu null druecken.
|
||||||
@@ -268,7 +268,7 @@ jobs:
|
|||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Install Cosign
|
# Install Cosign
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# HINWEIS (labwc-Zweig): Auch Test-Tags werden signiert, damit sie die
|
# HINWEIS (umbriel-Zweig): Auch Test-Tags werden signiert, damit sie die
|
||||||
# lokale sigstoreSigned-Policy bestehen. Test-Images bleiben an ihrem
|
# lokale sigstoreSigned-Policy bestehen. Test-Images bleiben an ihrem
|
||||||
# test-*-Tag erkennbar; :stable wird dadurch nicht beruehrt.
|
# test-*-Tag erkennbar; :stable wird dadurch nicht beruehrt.
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ a container image and an installer ISO built from it.
|
|||||||
| Branch | Base | Desktop | Targets | Tags |
|
| Branch | Base | Desktop | Targets | Tags |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| `main` | `fedora-kinoite:45` | Plasma | qcow2/raw **and** ISO | `:stable` (+ dated) |
|
| `main` | `fedora-kinoite:45` | Plasma | qcow2/raw **and** ISO | `:stable` (+ dated) |
|
||||||
| `feat/labwc-noctalia` (this one) | `fedora-bootc:45` minimal | labwc + Noctalia Shell v5 + greetd | **ISO only** | `test-<branch>` |
|
| `feat/umbriel` (this one) | `fedora-bootc:45` minimal | Umbriel + Noctalia Shell v5 + greetd | **ISO only** | `test-<branch>` |
|
||||||
|
|
||||||
The `Justfile` differs per branch. Do not port `main`'s qcow2/raw targets here.
|
The `Justfile` differs per branch. Do not port `main`'s qcow2/raw targets here.
|
||||||
|
|
||||||
|
|||||||
+17
-17
@@ -19,9 +19,10 @@ COPY build /build
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# BASE IMAGE
|
# BASE IMAGE
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# labwc/Noctalia-Zweig: minimale fedora-bootc-Basis statt Kinoite.
|
# Umbriel/Noctalia-Zweig: minimale fedora-bootc-Basis statt Kinoite.
|
||||||
# Der komplette Desktop (labwc, greetd, Noctalia) wird in den Layern unten
|
# Der komplette Desktop (Umbriel-Compositor, greetd, Noctalia-Shell) wird in
|
||||||
# aufgebaut. Der Kinoite-Stand bleibt auf Branch main / Tag :stable erhalten.
|
# den Layern unten aufgebaut. Der Kinoite-Stand bleibt auf Branch main / Tag
|
||||||
|
# :stable erhalten.
|
||||||
FROM quay.io/fedora/fedora-bootc:45
|
FROM quay.io/fedora/fedora-bootc:45
|
||||||
|
|
||||||
### /opt (Unverändert)
|
### /opt (Unverändert)
|
||||||
@@ -38,7 +39,7 @@ RUN --mount=type=bind,from=build-ctx,source=/build/10-repos.sh,target=/tmp/10-re
|
|||||||
--mount=type=tmpfs,dst=/tmp \
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
bash /tmp/10-repos.sh && dnf5 clean all
|
bash /tmp/10-repos.sh && dnf5 clean all
|
||||||
|
|
||||||
# LAYER 2: labwc Desktop-Basis (Compositor, Portale, Audio, Docking-Tools)
|
# LAYER 2: Desktop-Basis (Umbriel-Compositor, Portale, Audio, Docking-Tools)
|
||||||
RUN --mount=type=bind,from=build-ctx,source=/build/20-desktop-labwc.sh,target=/tmp/20-desktop-labwc.sh \
|
RUN --mount=type=bind,from=build-ctx,source=/build/20-desktop-labwc.sh,target=/tmp/20-desktop-labwc.sh \
|
||||||
--mount=type=cache,dst=/var/cache \
|
--mount=type=cache,dst=/var/cache \
|
||||||
--mount=type=cache,dst=/var/log \
|
--mount=type=cache,dst=/var/log \
|
||||||
@@ -75,11 +76,11 @@ RUN --mount=type=bind,from=build-ctx,source=/build/21-greetd.sh,target=/tmp/21-g
|
|||||||
bash /tmp/21-greetd.sh
|
bash /tmp/21-greetd.sh
|
||||||
|
|
||||||
# LAYER 7: Noctalia Shell v5 (nativ, aus Fedora-Repos)
|
# LAYER 7: Noctalia Shell v5 (nativ, aus Fedora-Repos)
|
||||||
RUN --mount=type=bind,from=build-ctx,source=/build/22-noctalia.sh,target=/tmp/22-noctalia.sh \
|
RUN --mount=type=bind,from=build-ctx,source=/build/22-umbriel.sh,target=/tmp/22-umbriel.sh \
|
||||||
--mount=type=cache,dst=/var/cache \
|
--mount=type=cache,dst=/var/cache \
|
||||||
--mount=type=cache,dst=/var/log \
|
--mount=type=cache,dst=/var/log \
|
||||||
--mount=type=tmpfs,dst=/tmp \
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
bash /tmp/22-noctalia.sh
|
bash /tmp/22-umbriel.sh
|
||||||
|
|
||||||
# LAYER 8: Plymouth Bootsplash (Text-Theme + Initramfs-Rebuild)
|
# LAYER 8: Plymouth Bootsplash (Text-Theme + Initramfs-Rebuild)
|
||||||
RUN --mount=type=bind,from=build-ctx,source=/build/23-plymouth.sh,target=/tmp/23-plymouth.sh \
|
RUN --mount=type=bind,from=build-ctx,source=/build/23-plymouth.sh,target=/tmp/23-plymouth.sh \
|
||||||
@@ -169,19 +170,18 @@ COPY --chmod=0644 configs/applications/bing-wallpaper-toggle.desktop /usr/share/
|
|||||||
# sein (world-writable Units warnt systemd lautstark an).
|
# sein (world-writable Units warnt systemd lautstark an).
|
||||||
COPY --chmod=0644 configs/systemd/user/bing-wallpaper.service /usr/lib/systemd/user/bing-wallpaper.service
|
COPY --chmod=0644 configs/systemd/user/bing-wallpaper.service /usr/lib/systemd/user/bing-wallpaper.service
|
||||||
COPY --chmod=0644 configs/systemd/user/bing-wallpaper.timer /usr/lib/systemd/user/bing-wallpaper.timer
|
COPY --chmod=0644 configs/systemd/user/bing-wallpaper.timer /usr/lib/systemd/user/bing-wallpaper.timer
|
||||||
# Session-Target: zieht graphical-session.target hoch (Details in der Datei).
|
# Umbriel-Session-Target kommt mit dem Paket (/usr/lib/systemd/user/umbriel-session.target).
|
||||||
# Braucht kein enable (wird aus dem labwc-Autostart gestartet, kein [Install]
|
# Kein eigener Copy noetig.
|
||||||
# noetig). --chmod wie oben: 644, keine world-writable Units.
|
|
||||||
COPY --chmod=0644 configs/systemd/user/labwc-session.target /usr/lib/systemd/user/labwc-session.target
|
|
||||||
|
|
||||||
# labwc/kanshi-Defaults fuer neue Benutzer (Bestand bleibt via seed-labwc-skel)
|
# umbriel/kanshi-Defaults fuer neue Benutzer (Bestand bleibt via seed-labwc-skel)
|
||||||
COPY configs/skel/ /etc/skel/
|
COPY configs/skel/ /etc/skel/
|
||||||
# Verzeichnis-COPY uebernimmt Checkout-Modi; world-writable Bits entfernen
|
# Verzeichnis-COPY uebernimmt Checkout-Modi; world-writable Bits entfernen
|
||||||
# (fuer Dateien gaelte --chmod=0644, das wuerde hier aber Dir-+x brechen)
|
# (fuer Dateien gaelte --chmod=0644, das wuerde hier aber Dir-+x brechen)
|
||||||
RUN chmod -R go-w /etc/skel
|
RUN chmod -R go-w /etc/skel
|
||||||
|
|
||||||
# Wayland-Session fuer Display-Manager (Greeter-Auswahl)
|
# Wayland-Session kommt mit dem umbriel-nightly-Paket (/usr/share/wayland-sessions/umbriel.desktop).
|
||||||
COPY --chmod=0644 configs/wayland-sessions/labwc.desktop /usr/share/wayland-sessions/labwc.desktop
|
# Kein eigener Copy noetig. Umbriel-Config (Stacking/Floating) wird hier kopiert.
|
||||||
|
COPY --chmod=0644 configs/umbriel/config.toml /usr/share/umbriel/config.toml
|
||||||
|
|
||||||
# Fontconfig-Defaults (Noto statt DejaVu)
|
# Fontconfig-Defaults (Noto statt DejaVu)
|
||||||
# Ziel ist /etc/fonts/conf.d: nur dieser Pfad wird von /etc/fonts/fonts.conf
|
# Ziel ist /etc/fonts/conf.d: nur dieser Pfad wird von /etc/fonts/fonts.conf
|
||||||
@@ -215,15 +215,15 @@ RUN set -u; \
|
|||||||
grep -q 'pam_fprintd\.so' /etc/pam.d/system-auth || { echo "FEHLER: pam_fprintd fehlt in system-auth (authselect with-fingerprint?)"; exit 1; }; \
|
grep -q 'pam_fprintd\.so' /etc/pam.d/system-auth || { echo "FEHLER: pam_fprintd fehlt in system-auth (authselect with-fingerprint?)"; exit 1; }; \
|
||||||
grep -Eq '^auth[[:space:]]+(substack|include)[[:space:]]+password-auth' /etc/pam.d/greetd || { echo "FEHLER: greetd nutzt nicht password-auth (fingerprint-frei erwartet)"; exit 1; }; \
|
grep -Eq '^auth[[:space:]]+(substack|include)[[:space:]]+password-auth' /etc/pam.d/greetd || { echo "FEHLER: greetd nutzt nicht password-auth (fingerprint-frei erwartet)"; exit 1; }; \
|
||||||
grep -Eq '^auth[[:space:]]+(substack|include)[[:space:]]+system-auth' /etc/pam.d/greetd && { echo "FEHLER: greetd nutzt system-auth mit Fingerprint (Keyring wuerde nie entsperren)"; exit 1; } || true; \
|
grep -Eq '^auth[[:space:]]+(substack|include)[[:space:]]+system-auth' /etc/pam.d/greetd && { echo "FEHLER: greetd nutzt system-auth mit Fingerprint (Keyring wuerde nie entsperren)"; exit 1; } || true; \
|
||||||
wrapper="$(command -v noctalia-greeter-session || true)"; \
|
wrapper="$(command -v start-umbriel || true)"; \
|
||||||
echo "Gefundener Wrapper: ${wrapper}"; \
|
echo "Gefundener Wrapper: ${wrapper}"; \
|
||||||
test -n "${wrapper}" || { echo "FEHLER: noctalia-greeter-session nicht installiert (Terra-Repo/includepkgs pruefen)"; exit 1; }; \
|
test -n "${wrapper}" || { echo "FEHLER: start-umbriel nicht installiert (Terra-Repo/includepkgs pruefen)"; exit 1; }; \
|
||||||
sed -i "s|^command = \".*\"|command = \"${wrapper}\"|" /etc/greetd/config.toml; \
|
sed -i "s|^command = \".*\"|command = \"${wrapper}\"|" /etc/greetd/config.toml; \
|
||||||
grep -Eq "^command = \"${wrapper}\"" /etc/greetd/config.toml || { echo "FEHLER: Wrapper-Pfad konnte nicht in /etc/greetd/config.toml uebernommen werden"; exit 1; }; \
|
grep -Eq "^command = \"${wrapper}\"" /etc/greetd/config.toml || { echo "FEHLER: Wrapper-Pfad konnte nicht in /etc/greetd/config.toml uebernommen werden"; exit 1; }; \
|
||||||
command -v dbus-run-session >/dev/null || { echo "FEHLER: dbus-run-session fehlt"; exit 1; }; \
|
command -v dbus-run-session >/dev/null || { echo "FEHLER: dbus-run-session fehlt"; exit 1; }; \
|
||||||
command -v dbus-update-activation-environment >/dev/null || { echo "FEHLER: dbus-update-activation-environment fehlt (Paket dbus-tools?)"; exit 1; }; \
|
command -v dbus-update-activation-environment >/dev/null || { echo "FEHLER: dbus-update-activation-environment fehlt (Paket dbus-tools?)"; exit 1; }; \
|
||||||
test -x /usr/bin/pkexec || { echo "FEHLER: pkexec fehlt"; exit 1; }; \
|
test -x /usr/bin/pkexec || { echo "FEHLER: pkexec fehlt"; exit 1; }; \
|
||||||
test -f /usr/share/wayland-sessions/labwc.desktop || { echo "FEHLER: labwc-Session fehlt"; exit 1; }; \
|
test -f /usr/share/wayland-sessions/umbriel.desktop || { echo "FEHLER: umbriel-Session fehlt"; exit 1; }; \
|
||||||
echo "Greeter-Check OK (${wrapper})"
|
echo "Greeter-Check OK (${wrapper})"
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
@@ -251,7 +251,7 @@ RUN systemctl enable \
|
|||||||
# (Fehler tolerieren, Labels werden beim Deployment ggf. erneut gesetzt)
|
# (Fehler tolerieren, Labels werden beim Deployment ggf. erneut gesetzt)
|
||||||
# /etc/pam.d ist Pflicht: 21-greetd.sh materialisiert die F45-Vendor-Config
|
# /etc/pam.d ist Pflicht: 21-greetd.sh materialisiert die F45-Vendor-Config
|
||||||
# per install/sed nach /etc; ohne Relabel kann PAM die Datei nicht lesen.
|
# per install/sed nach /etc; ohne Relabel kann PAM die Datei nicht lesen.
|
||||||
RUN restorecon -Rv /etc/pam.d /etc/greetd /etc/skel /usr/share/wayland-sessions /usr/share/noctalia-greeter /usr/bin/noctalia-greeter-session /usr/bin/kanshi-autoconfig /usr/bin/seed-labwc-skel /usr/bin/labwc-appmenu /usr/bin/bing-wallpaper.sh /usr/bin/bing-wallpaper-toggle.sh /usr/bin/flatpak-preinstall-check.sh 2>/dev/null || true
|
RUN restorecon -Rv /etc/pam.d /etc/greetd /etc/skel /usr/share/wayland-sessions /usr/share/noctalia-greeter /usr/bin/start-umbriel /usr/bin/kanshi-autoconfig /usr/bin/seed-labwc-skel /usr/bin/labwc-appmenu /usr/bin/bing-wallpaper.sh /usr/bin/bing-wallpaper-toggle.sh /usr/bin/flatpak-preinstall-check.sh 2>/dev/null || true
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# PRE-FINAL CLEANUP
|
# PRE-FINAL CLEANUP
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# fluffy-pancake – Justfile (feat/labwc-noctalia-Zweig)
|
# fluffy-pancake – Justfile (feat/umbriel-Zweig)
|
||||||
# Dieser Zweig baut ausschliesslich Installer-ISOs (kein qcow2/raw).
|
# Dieser Zweig baut ausschliesslich Installer-ISOs (kein qcow2/raw).
|
||||||
# Auf dem main-Zweig (Kinoite-Basis) stehen zusaetzlich qcow2/raw-Targets
|
# Auf dem main-Zweig (Kinoite-Basis) stehen zusaetzlich qcow2/raw-Targets
|
||||||
# zur Verfuegung – dortige Justfile ist nicht identisch.
|
# zur Verfuegung – dortige Justfile ist nicht identisch.
|
||||||
|
|||||||
+7
-5
@@ -6,9 +6,10 @@ dnf5 install -y \
|
|||||||
"https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm" \
|
"https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm" \
|
||||||
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm"
|
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm"
|
||||||
|
|
||||||
# Terra-Repository (Fyralabs) fuer noctalia-greeter.
|
# Terra-Repository (Fyralabs) fuer umbriel-nightly + noctalia-greeter.
|
||||||
# Die Shell (Paket `noctalia`, v5) liegt in den offiziellen Fedora-Repos,
|
# Umbriel (Wayland-Compositor) und der Noctalia-Greeter sind NUR in Terra
|
||||||
# der Greeter aktuell NUR in Terra (Stand: Fedora 45).
|
# verfuegbar (Stand: Fedora 45). Die Noctalia Shell (Paket `noctalia`, v5)
|
||||||
|
# liegt in den offiziellen Fedora-Repos.
|
||||||
# Siehe https://docs.noctalia.dev/greeter/installation/
|
# Siehe https://docs.noctalia.dev/greeter/installation/
|
||||||
# terra-release wird als Bootstrap-Paket aus dem Dritt-Repo installiert;
|
# terra-release wird als Bootstrap-Paket aus dem Dritt-Repo installiert;
|
||||||
# fuer genau dieses Paket ist --nogpgcheck noetig, da der Fyra-GPG-Key
|
# fuer genau dieses Paket ist --nogpgcheck noetig, da der Fyra-GPG-Key
|
||||||
@@ -20,7 +21,8 @@ dnf5 install -y --nogpgcheck \
|
|||||||
--repofrompath "terra,https://repos.fyralabs.com/terra${FEDORA_VERSION}" \
|
--repofrompath "terra,https://repos.fyralabs.com/terra${FEDORA_VERSION}" \
|
||||||
terra-release
|
terra-release
|
||||||
|
|
||||||
# Terra strikt einschraenken: NUR noctalia-greeter darf von dort kommen.
|
# Terra strikt einschraenken: NUR umbriel-nightly + xdg-desktop-portal-umbriel
|
||||||
|
# (und noctalia-greeter als Login-UI) darf von dort kommen.
|
||||||
# Schuetzt Fedora- und RPMFusion-Pakete vor Shadowing/Konflikten durch das
|
# Schuetzt Fedora- und RPMFusion-Pakete vor Shadowing/Konflikten durch das
|
||||||
# Dritt-Repo (Terra ist ein Voll-Repo mit eigener Paketierung).
|
# Dritt-Repo (Terra ist ein Voll-Repo mit eigener Paketierung).
|
||||||
# skip_if_unavailable: Terras CDN liefert wiederkehrend inkonsistente
|
# skip_if_unavailable: Terras CDN liefert wiederkehrend inkonsistente
|
||||||
@@ -69,7 +71,7 @@ for path in paths:
|
|||||||
has_pin = any(l.split("=")[0].strip() == "includepkgs" for l in sec["opts"] if "=" in l)
|
has_pin = any(l.split("=")[0].strip() == "includepkgs" for l in sec["opts"] if "=" in l)
|
||||||
has_skip = any(l.split("=")[0].strip() == "skip_if_unavailable" for l in sec["opts"] if "=" in l)
|
has_skip = any(l.split("=")[0].strip() == "skip_if_unavailable" for l in sec["opts"] if "=" in l)
|
||||||
if not has_pin:
|
if not has_pin:
|
||||||
sec["opts"].insert(0, "includepkgs=noctalia-greeter*\n")
|
sec["opts"].insert(0, "includepkgs=umbriel-nightly* xdg-desktop-portal-umbriel-nightly* noctalia-greeter*\n")
|
||||||
changed = True
|
changed = True
|
||||||
if not has_skip:
|
if not has_skip:
|
||||||
sec["opts"].insert(0, "skip_if_unavailable=True\n")
|
sec["opts"].insert(0, "skip_if_unavailable=True\n")
|
||||||
|
|||||||
@@ -2,16 +2,17 @@
|
|||||||
set -eoux pipefail
|
set -eoux pipefail
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Transaction: labwc Desktop-Basis (Compositor + Wayland-Stack + Docking)
|
# Transaction: Desktop-Basis (Wayland-Stack + Docking-Tools)
|
||||||
# Basiert auf fedora-bootc (kein KDE). Noctalia-Shell und Greeter kommen
|
# Basiert auf fedora-bootc (kein KDE). Umbriel-Compositor und Noctalia-Shell
|
||||||
# in eigenen Layern (21/22), damit sie unabhaengig gecacht werden.
|
# kommen in eigenen Layern (21/22), damit sie unabhaengig gecacht werden.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
echo "Installing labwc desktop base..."
|
echo "Installing desktop base..."
|
||||||
|
|
||||||
# Kern-Pakete (hart erforderlich)
|
# Kern-Pakete (hart erforderlich)
|
||||||
|
# Compositor: umbriel-nightly (aus Terra, siehe 21-greetd.sh / 22-umbriel.sh).
|
||||||
|
# labwc wird nicht mehr benoetigt.
|
||||||
dnf5 install -y \
|
dnf5 install -y \
|
||||||
--allowerasing \
|
--allowerasing \
|
||||||
labwc \
|
|
||||||
xorg-x11-server-Xwayland \
|
xorg-x11-server-Xwayland \
|
||||||
kanshi \
|
kanshi \
|
||||||
wlr-randr \
|
wlr-randr \
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ set -eoux pipefail
|
|||||||
# Noctalia-Optik. Braucht ZWINGEND greetd als Unterbau.
|
# Noctalia-Optik. Braucht ZWINGEND greetd als Unterbau.
|
||||||
# - tuigreet bleibt als sparsamer Fallback, falls der grafische Greeter
|
# - tuigreet bleibt als sparsamer Fallback, falls der grafische Greeter
|
||||||
# je streikt (in /etc/greetd/config.toml per Kommentar umschaltbar).
|
# je streikt (in /etc/greetd/config.toml per Kommentar umschaltbar).
|
||||||
|
# - Nach dem Login startet start-umbriel (Umbriel-Compositor + Noctalia-Shell)
|
||||||
|
# als Wayland-Session.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
echo "Installing login stack (greetd + Noctalia greeter)..."
|
echo "Installing login stack (greetd + Noctalia greeter)..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
set -eoux pipefail
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# Transaction: Noctalia Shell v5 (nativer Wayland-Desktop-Shell)
|
|
||||||
###############################################################################
|
|
||||||
# Paket `noctalia` aus den offiziellen Fedora-Repos (ab F44).
|
|
||||||
# KEIN COPR noetig. Start via labwc-autostart (siehe configs/skel).
|
|
||||||
# Doku: https://docs.noctalia.dev/noctalia/getting-started/installation/
|
|
||||||
###############################################################################
|
|
||||||
echo "Installing Noctalia Shell v5..."
|
|
||||||
|
|
||||||
# Versionsdynamik: Wallpaper-Pakete heissen f<VER>-backgrounds*.
|
|
||||||
# Bei Basis-Wechsel (z.B. F45 -> F46 im Containerfile) kommen automatisch
|
|
||||||
# die neuen Motive mit. Bricht das Schema je, knallt der Build laut
|
|
||||||
# (kein stiller leerer Picker).
|
|
||||||
# HINWEIS: Bewusst NUR -base + -gnome, NICHT das Meta-Paket fXX-backgrounds:
|
|
||||||
# Das Meta zieht ALLE Desktop-Varianten herein (-kde/-mate/-budgie/-xfce),
|
|
||||||
# und -xfce haengt an xfdesktop -> Thunar -> exo/garcon (ganzer XFCE-Baum).
|
|
||||||
# Auf labwc/Noctalia braucht niemand KDE-/XFCE-Wallpaper.
|
|
||||||
FEDORA_VERSION="$(rpm -E %fedora)"
|
|
||||||
|
|
||||||
# Nur das Paket selbst: v5 ist nativ (C++/OpenGL ES), Bildformate und
|
|
||||||
# Theming sind einkompiliert bzw. kommen als RPM-Abhaengigkeiten mit.
|
|
||||||
# ImageMagick/Python/git waren v4-Bedarf und entfallen.
|
|
||||||
#
|
|
||||||
# Theming-Unterbau fuer die aktivierten Templates (siehe
|
|
||||||
# configs/skel/.config/noctalia/templates.toml):
|
|
||||||
# - flatpak: fehlt in der fedora-bootc-Basis, wird aber vom
|
|
||||||
# Flatpak-Preinstall-Layer/Service (50-xxx, Bazaar/Brave) benoetigt
|
|
||||||
# - adw-gtk3-theme: GTK-Theme, das Noctalias gtk-Hook umfaerbt (inkl. -dark).
|
|
||||||
# HINWEIS: Paket heisst -theme, nicht -gtk3!
|
|
||||||
# - dconf + Schemas: damit der Hook gtk-theme/color-scheme setzen kann.
|
|
||||||
# (nwg-look gibt es nicht in Fedora (nur COPR) und wird nicht gebraucht -
|
|
||||||
# der Hook setzt das Theme selbst.)
|
|
||||||
dnf5 install -y \
|
|
||||||
--allowerasing \
|
|
||||||
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
|
|
||||||
Executable
+52
@@ -0,0 +1,52 @@
|
|||||||
|
#!/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
|
||||||
+2
-2
@@ -4,8 +4,8 @@ set -eoux pipefail
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# Transaction: Virtualization, Tools & Hardware Helpers
|
# Transaction: Virtualization, Tools & Hardware Helpers
|
||||||
# Zusammengefasst für effizientere Paketauflösung.
|
# Zusammengefasst für effizientere Paketauflösung.
|
||||||
# HINWEIS (labwc-Zweig): plasma-setup und noctalia sind hier raus.
|
# HINWEIS (umbriel-Zweig): plasma-setup und noctalia sind hier raus.
|
||||||
# plasma-setup war KDE-spezifisch, noctalia liegt in 22-noctalia.sh.
|
# plasma-setup war KDE-spezifisch, noctalia liegt in 22-umbriel.sh.
|
||||||
# webkit2gtk/javascriptcore sind ebenfalls raus: Bazaar laeuft als Flatpak
|
# webkit2gtk/javascriptcore sind ebenfalls raus: Bazaar laeuft als Flatpak
|
||||||
# und bundelt WebKit selbst; nativen Verbraucher gibt es im Image keinen.
|
# und bundelt WebKit selbst; nativen Verbraucher gibt es im Image keinen.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# greetd-Konfiguration – fluffy-pancake (labwc/Noctalia-Zweig)
|
# greetd-Konfiguration – fluffy-pancake (Umbriel/Noctalia-Zweig)
|
||||||
# Greeter ist der Noctalia-Greeter (Login-UI in Noctalia-Optik).
|
# Greeter ist der Noctalia-Greeter (Login-UI in Noctalia-Optik).
|
||||||
# Er braucht greetd als Unterbau und wird via Session-Wrapper gestartet,
|
# Er braucht greetd als Unterbau und wird via Session-Wrapper gestartet,
|
||||||
# NICHT direkt als Binary (der Wrapper startet den Compositor mit).
|
# NICHT direkt als Binary (der Wrapper startet den Compositor mit).
|
||||||
@@ -10,10 +10,12 @@ vt = 1
|
|||||||
[default_session]
|
[default_session]
|
||||||
# HINWEIS: Der Pfad wird beim Image-Build automatisch auf den real
|
# HINWEIS: Der Pfad wird beim Image-Build automatisch auf den real
|
||||||
# installierten Wrapper normalisiert (Terra: /usr/sbin/ statt /usr/bin/).
|
# installierten Wrapper normalisiert (Terra: /usr/sbin/ statt /usr/bin/).
|
||||||
command = "/usr/sbin/noctalia-greeter-session"
|
# Umbriel-Compositor (Wayland-Session). start-umbriel startet den Compositor
|
||||||
|
# und die Noctalia-Shell (Bar/Launcher/OSD) via autostart.
|
||||||
|
command = "start-umbriel"
|
||||||
user = "greeter"
|
user = "greeter"
|
||||||
|
|
||||||
# --- Fallback, falls der grafische Greeter je streikt ---
|
# --- Fallback, falls der grafische Greeter je streikt ---
|
||||||
# Dafuer diese Zeile einkommentieren und die obere auskommentieren,
|
# Dafuer diese Zeile einkommentieren und die obere auskommentieren,
|
||||||
# danach `systemctl restart greetd`:
|
# danach `systemctl restart greetd`:
|
||||||
# command = "tuigreet --cmd labwc --time --asterisks --remember"
|
# command = "tuigreet --cmd start-umbriel --time --asterisks --remember"
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
# Umbriel starting configuration – fluffy-pancake
|
||||||
|
# Floating/Stacking Layout als Default.
|
||||||
|
|
||||||
|
[general]
|
||||||
|
autostart = ["noctalia", "kitty"]
|
||||||
|
|
||||||
|
[input.keyboard]
|
||||||
|
numlock_toggle = true
|
||||||
|
|
||||||
|
[keybinds]
|
||||||
|
"Mod+Return" = { action = "spawn kitty", repeat = false }
|
||||||
|
"Mod" = "spawn noctalia msg panel-toggle launcher"
|
||||||
|
"Mod+Q" = { action = "window-close", repeat = false }
|
||||||
|
"Mod+Escape" = "session-quit"
|
||||||
|
"Mod+T" = { action = "window-toggle-floating", repeat = false }
|
||||||
|
"Mod+Shift+T" = { action = "window-focus-switch-floating", repeat = false }
|
||||||
|
"Mod+F" = { action = "window-toggle-fullscreen", repeat = false }
|
||||||
|
"Mod+M" = { action = "window-toggle-maximize-to-edges", repeat = false }
|
||||||
|
"Mod+1" = "workspace-switch 1"
|
||||||
|
"Mod+2" = "workspace-switch 2"
|
||||||
|
"Mod+3" = "workspace-switch 3"
|
||||||
|
"Mod+4" = "workspace-switch 4"
|
||||||
|
"Mod+5" = "workspace-switch 5"
|
||||||
|
"Mod+Shift+1" = "window-move-to-workspace 1"
|
||||||
|
"Mod+Shift+2" = "window-move-to-workspace 2"
|
||||||
|
"Mod+Shift+3" = "window-move-to-workspace 3"
|
||||||
|
"Mod+Shift+4" = "window-move-to-workspace 4"
|
||||||
|
"Mod+Shift+5" = "window-move-to-workspace 5"
|
||||||
|
"Mod+Left" = "window-focus-left"
|
||||||
|
"Mod+Down" = "window-focus-down"
|
||||||
|
"Mod+Up" = "window-focus-up"
|
||||||
|
"Mod+Right" = "window-focus-right"
|
||||||
|
"Mod+H" = "window-focus-left"
|
||||||
|
"Mod+J" = "window-focus-down"
|
||||||
|
"Mod+K" = "window-focus-up"
|
||||||
|
"Mod+L" = "window-focus-right"
|
||||||
|
"Mod+O" = { action = "overview-toggle", repeat = false }
|
||||||
|
|
||||||
|
# Media/Volumen/Brightness via Noctalia-OSD
|
||||||
|
"XF86AudioRaiseVolume" = { action = "spawn noctalia msg volume-up", allow_when_locked = true }
|
||||||
|
"XF86AudioLowerVolume" = { action = "spawn noctalia msg volume-down", allow_when_locked = true }
|
||||||
|
"XF86AudioMute" = { action = "spawn noctalia msg volume-mute", allow_when_locked = true, repeat = false }
|
||||||
|
"XF86AudioPlay" = { action = "spawn noctalia msg media toggle", allow_when_locked = true, repeat = false }
|
||||||
|
"XF86AudioNext" = { action = "spawn noctalia msg media next", allow_when_locked = true }
|
||||||
|
"XF86AudioPrev" = { action = "spawn noctalia msg media previous", allow_when_locked = true }
|
||||||
|
"XF86MonBrightnessUp" = { action = "spawn noctalia msg brightness-up", allow_when_locked = true }
|
||||||
|
"XF86MonBrightnessDown" = { action = "spawn noctalia msg brightness-down", allow_when_locked = true }
|
||||||
|
|
||||||
|
# Layout: Stacking als Default (Floating/Stacking Windows)
|
||||||
|
[layout]
|
||||||
|
mode = "stacking"
|
||||||
|
|
||||||
|
[layout.stacking]
|
||||||
|
drop_zones = true
|
||||||
|
|
||||||
|
# Blur fuer Noctalia-Panels
|
||||||
|
[[layer_rule]]
|
||||||
|
match.namespace = "^noctalia-.*$"
|
||||||
|
blur = true
|
||||||
|
blur_ignore_alpha = 0.5
|
||||||
|
|
||||||
|
# Noctalia-Shell als floating
|
||||||
|
[[window_rule]]
|
||||||
|
match.app_id = "^dev.noctalia.Noctalia$"
|
||||||
|
default_floating = true
|
||||||
|
default_floating_size_px = { width = 1020, height = 900 }
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Tages-Wallpaper von Bing laden und setzen
|
Description=Tages-Wallpaper von Bing laden und setzen
|
||||||
# Netz-Warten übernimmt das Skript selbst (curl-Timeouts + Retry).
|
# Netz-Warten übernimmt das Skript selbst (curl-Timeouts + Retry).
|
||||||
# After labwc-session.target bleibt (Ordnung).
|
# After umbriel-session.target bleibt (Ordnung).
|
||||||
After=labwc-session.target
|
After=umbriel-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
# labwc-Session-Target – fluffy-pancake (Noctalia-Zweig)
|
|
||||||
# Zieht graphical-session.target als Abhaengigkeit hoch. Das ist der
|
|
||||||
# EINZIGE erlaubte Weg: graphical-session.target hat RefuseManualStart=yes,
|
|
||||||
# kann also nicht direkt gestartet werden. xdg-desktop-portal hat aber ein
|
|
||||||
# Requisite= darauf und bleibt ohne sie mit "Dependency failed" tot.
|
|
||||||
# Gestartet wird dieses Target aus dem labwc-Autostart
|
|
||||||
# (fluffy-session-integration-Block).
|
|
||||||
[Unit]
|
|
||||||
Description=labwc graphical session (fluffy-pancake)
|
|
||||||
Requires=graphical-session.target
|
|
||||||
After=graphical-session.target
|
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
# Umbriel starting configuration – fluffy-pancake
|
||||||
|
# Floating/Stacking Layout als Default.
|
||||||
|
|
||||||
|
[general]
|
||||||
|
autostart = ["noctalia", "kitty"]
|
||||||
|
|
||||||
|
[input.keyboard]
|
||||||
|
numlock_toggle = true
|
||||||
|
|
||||||
|
[keybinds]
|
||||||
|
"Mod+Return" = { action = "spawn kitty", repeat = false }
|
||||||
|
"Mod" = "spawn noctalia msg panel-toggle launcher"
|
||||||
|
"Mod+Q" = { action = "window-close", repeat = false }
|
||||||
|
"Mod+Escape" = "session-quit"
|
||||||
|
"Mod+T" = { action = "window-toggle-floating", repeat = false }
|
||||||
|
"Mod+Shift+T" = { action = "window-focus-switch-floating", repeat = false }
|
||||||
|
"Mod+F" = { action = "window-toggle-fullscreen", repeat = false }
|
||||||
|
"Mod+M" = { action = "window-toggle-maximize-to-edges", repeat = false }
|
||||||
|
"Mod+1" = "workspace-switch 1"
|
||||||
|
"Mod+2" = "workspace-switch 2"
|
||||||
|
"Mod+3" = "workspace-switch 3"
|
||||||
|
"Mod+4" = "workspace-switch 4"
|
||||||
|
"Mod+5" = "workspace-switch 5"
|
||||||
|
"Mod+Shift+1" = "window-move-to-workspace 1"
|
||||||
|
"Mod+Shift+2" = "window-move-to-workspace 2"
|
||||||
|
"Mod+Shift+3" = "window-move-to-workspace 3"
|
||||||
|
"Mod+Shift+4" = "window-move-to-workspace 4"
|
||||||
|
"Mod+Shift+5" = "window-move-to-workspace 5"
|
||||||
|
"Mod+Left" = "window-focus-left"
|
||||||
|
"Mod+Down" = "window-focus-down"
|
||||||
|
"Mod+Up" = "window-focus-up"
|
||||||
|
"Mod+Right" = "window-focus-right"
|
||||||
|
"Mod+H" = "window-focus-left"
|
||||||
|
"Mod+J" = "window-focus-down"
|
||||||
|
"Mod+K" = "window-focus-up"
|
||||||
|
"Mod+L" = "window-focus-right"
|
||||||
|
"Mod+O" = { action = "overview-toggle", repeat = false }
|
||||||
|
|
||||||
|
# Media/Volumen/Brightness via Noctalia-OSD
|
||||||
|
"XF86AudioRaiseVolume" = { action = "spawn noctalia msg volume-up", allow_when_locked = true }
|
||||||
|
"XF86AudioLowerVolume" = { action = "spawn noctalia msg volume-down", allow_when_locked = true }
|
||||||
|
"XF86AudioMute" = { action = "spawn noctalia msg volume-mute", allow_when_locked = true, repeat = false }
|
||||||
|
"XF86AudioPlay" = { action = "spawn noctalia msg media toggle", allow_when_locked = true, repeat = false }
|
||||||
|
"XF86AudioNext" = { action = "spawn noctalia msg media next", allow_when_locked = true }
|
||||||
|
"XF86AudioPrev" = { action = "spawn noctalia msg media previous", allow_when_locked = true }
|
||||||
|
"XF86MonBrightnessUp" = { action = "spawn noctalia msg brightness-up", allow_when_locked = true }
|
||||||
|
"XF86MonBrightnessDown" = { action = "spawn noctalia msg brightness-down", allow_when_locked = true }
|
||||||
|
|
||||||
|
# Layout: Stacking als Default (Floating/Stacking Windows)
|
||||||
|
[layout]
|
||||||
|
mode = "stacking"
|
||||||
|
|
||||||
|
[layout.stacking]
|
||||||
|
drop_zones = true
|
||||||
|
|
||||||
|
# Blur fuer Noctalia-Panels
|
||||||
|
[[layer_rule]]
|
||||||
|
match.namespace = "^noctalia-.*$"
|
||||||
|
blur = true
|
||||||
|
blur_ignore_alpha = 0.5
|
||||||
|
|
||||||
|
# Noctalia-Shell als floating
|
||||||
|
[[window_rule]]
|
||||||
|
match.app_id = "^dev.noctalia.Noctalia$"
|
||||||
|
default_floating = true
|
||||||
|
default_floating_size_px = { width = 1020, height = 900 }
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=labwc
|
|
||||||
Comment=Lab Wayland Compositor (fluffy-pancake Noctalia-Desktop)
|
|
||||||
Exec=labwc
|
|
||||||
Type=Application
|
|
||||||
DesktopNames=labwc
|
|
||||||
Reference in new issue
Block a user