fixed several configs and missing packages, added plymouth
This commit is contained in:
@@ -39,13 +39,30 @@ dnf5 install -y \
|
||||
accountsservice \
|
||||
google-noto-sans-fonts \
|
||||
google-noto-sans-mono-fonts \
|
||||
google-noto-color-emoji-fonts \
|
||||
glibc-langpack-de \
|
||||
adwaita-icon-theme \
|
||||
adwaita-cursor-theme \
|
||||
gnome-keyring \
|
||||
libsecret \
|
||||
thunar \
|
||||
thunar-volman \
|
||||
thunar-archive-plugin \
|
||||
file-roller \
|
||||
tumbler \
|
||||
gvfs \
|
||||
firewalld \
|
||||
firewall-config \
|
||||
nss-mdns \
|
||||
wdisplays \
|
||||
brightnessctl \
|
||||
swaylock \
|
||||
thunar \
|
||||
thunar-volman \
|
||||
tumbler \
|
||||
gvfs
|
||||
playerctl \
|
||||
evince \
|
||||
loupe \
|
||||
gnome-text-editor \
|
||||
seahorse \
|
||||
cups-browsed
|
||||
|
||||
# Optionale Pakete (duerfen fehlen -> --skip-unavailable, eigener Aufruf,
|
||||
# damit ein fehlendes Optionales den Kern nicht zu Fall bringt)
|
||||
@@ -66,10 +83,19 @@ systemctl --global enable pipewire.socket pipewire-pulse.socket wireplumber.serv
|
||||
# Bluetooth-Daemon (System-Service, kein --global)
|
||||
systemctl enable bluetooth.service
|
||||
|
||||
# Thunderbolt-Dock-Autorisierung (ohne boltd bleibt das Dock stumm)
|
||||
systemctl enable bolt.service
|
||||
|
||||
# Drucken per Socket-Activation (Fedora-Standard: cups.socket statt Service)
|
||||
systemctl enable cups.socket
|
||||
|
||||
# Netzwerkdrucker automatisch als Warteschlangen anlegen
|
||||
systemctl enable cups-browsed.service
|
||||
|
||||
# mDNS-Discovery (Netzwerkdrucker finden, .local-Aufloesung)
|
||||
systemctl enable avahi-daemon.socket
|
||||
|
||||
# Firewall (Laptop!) per Default an
|
||||
systemctl enable firewalld.service
|
||||
|
||||
dnf5 clean all
|
||||
|
||||
+8
-1
@@ -22,10 +22,17 @@ dnf5 install -y \
|
||||
dbus-daemon \
|
||||
polkit \
|
||||
tuigreet \
|
||||
noctalia-greeter
|
||||
noctalia-greeter \
|
||||
fprintd
|
||||
|
||||
dnf5 clean all
|
||||
|
||||
# Fingerprint (Framework u.a.): System-Auth per authselect erweitern, damit
|
||||
# sudo/Polkit/login-Pfade Finger anbieten (nach fprintd-enroll auf Hardware).
|
||||
# Greeter-PAM (/etc/pam.d/greetd) bewusst NICHT angefasst: Feinschliff erst
|
||||
# auf echter Hardware mit Reader testbar, kein VM-Test moeglich.
|
||||
authselect enable-feature with-fingerprint || echo "WARN: with-fingerprint nicht aktivierbar - auf Hardware pruefen"
|
||||
|
||||
# accounts-daemon: liefert User-Avatare auf dem Login-Screen.
|
||||
systemctl enable accounts-daemon.service
|
||||
|
||||
|
||||
+7
-11
@@ -39,25 +39,21 @@ dnf5 install -y \
|
||||
f${FEDORA_VERSION}-backgrounds \
|
||||
fedora-workstation-backgrounds
|
||||
|
||||
# Standard-Wallpaper fuer ~/Pictures neuer Benutzer (Noctalias Picker zeigt
|
||||
# das XDG-Bilderverzeichnis; ohne Inhalt bleibt er leer). Fedora-eigene
|
||||
# Motive (Defaults aller Desktops + Supplemental-Pool, offen lizenziert),
|
||||
# deterministisch umbenannt. Vollauswahl bleibt zusaetzlich unter
|
||||
# /usr/share/backgrounds (Picker-Verzeichnis dorthin umstellbar).
|
||||
mkdir -p /etc/skel/Pictures
|
||||
# Flacher Wallpaper-Pool fuer Noctalias Picker (der ist NICHT rekursiv und
|
||||
# sieht Unterordner unter /usr/share/backgrounds nicht). Symlinks statt
|
||||
# Kopien: null Mehrbytes im Image. Deterministisch benannt, vollstaendig.
|
||||
mkdir -p /usr/share/noctalia-wallpapers
|
||||
i=0
|
||||
while IFS= read -r img; do
|
||||
i=$((i + 1))
|
||||
if [ "$i" -gt 12 ]; then
|
||||
break
|
||||
fi
|
||||
ext="${img##*.}"
|
||||
cp "$img" "/etc/skel/Pictures/fluffy-wallpaper-${i}.${ext}"
|
||||
ln -sf "$img" "/usr/share/noctalia-wallpapers/fluffy-pool-$(printf '%02d' "$i").${ext}"
|
||||
done < <(find /usr/share/backgrounds -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) | sort)
|
||||
if [ "$i" -lt 1 ]; then
|
||||
echo "FEHLER: keine Wallpaper unter /usr/share/backgrounds gefunden"
|
||||
exit 1
|
||||
fi
|
||||
ls -l /etc/skel/Pictures
|
||||
echo "Wallpaper-Pool: $i Motive"
|
||||
ls /usr/share/noctalia-wallpapers
|
||||
|
||||
dnf5 clean all
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/bash
|
||||
set -eoux pipefail
|
||||
|
||||
###############################################################################
|
||||
# Transaction: Plymouth Bootsplash (Text-Theme "fluffy-pancake")
|
||||
###############################################################################
|
||||
# - Eigenes Theme aus build/plymouth-theme/ installieren, als Default setzen.
|
||||
# - Initramfs neu bauen (Plymouth-Modul muss rein, sonst kein Early-Splash).
|
||||
# no-hostonly = laeuft auf jeder Hardware (VM + Laptop).
|
||||
# Kernel aus dem IMAGE (/usr/lib/modules), NICHT uname -r (Host-Kernel!).
|
||||
###############################################################################
|
||||
echo "Installing Plymouth splash (fluffy-pancake)..."
|
||||
|
||||
dnf5 install -y \
|
||||
--allowerasing \
|
||||
plymouth \
|
||||
plymouth-system-theme
|
||||
|
||||
mkdir -p /usr/share/plymouth/themes/fluffy
|
||||
cp /tmp/plymouth-theme/fluffy.plymouth /tmp/plymouth-theme/fluffy.script \
|
||||
/usr/share/plymouth/themes/fluffy/
|
||||
plymouth-set-default-theme fluffy
|
||||
|
||||
for kdir in /usr/lib/modules/*; do
|
||||
kver="$(basename "${kdir}")"
|
||||
dracut --force --no-hostonly --kver "${kver}" "${kdir}/initramfs.img"
|
||||
done
|
||||
|
||||
systemctl enable plymouth-start.service || true
|
||||
|
||||
dnf5 clean all
|
||||
@@ -0,0 +1,8 @@
|
||||
[Plymouth Theme]
|
||||
Name=fluffy-pancake
|
||||
Description=fluffy-pancake text splash
|
||||
ModuleName=script
|
||||
|
||||
[script]
|
||||
ImageDir=/usr/share/plymouth/themes/fluffy
|
||||
ScriptFile=/usr/share/plymouth/themes/fluffy/fluffy.script
|
||||
@@ -0,0 +1,28 @@
|
||||
# fluffy-pancake Plymouth-Theme (script-Plugin).
|
||||
# Dunkler Hintergrund (Noctalia-nah), zentrierter Schriftzug, Statuszeile.
|
||||
# Plymouth ruft message_callback bei Boot-Meldungen und boot_progress_callback
|
||||
# waehrenddessen; quit_callback beim Uebergang zum Login.
|
||||
|
||||
Window.SetBackgroundTopColor (0.10, 0.11, 0.15);
|
||||
Window.SetBackgroundBottomColor (0.10, 0.11, 0.15);
|
||||
|
||||
title_image = Message ("fluffy-pancake");
|
||||
title_sprite = Sprite (title_image);
|
||||
title_sprite.SetPosition (Window.GetX () / 2 - title_image.GetWidth () / 2,
|
||||
Window.GetY () / 2 - title_image.GetHeight () / 2, 10);
|
||||
|
||||
status_image = Image.Text ("", 1, 1, 1);
|
||||
status_sprite = Sprite (status_image);
|
||||
|
||||
fun message_callback (text) {
|
||||
status_image = Image.Text (text, 1, 1, 1);
|
||||
status_sprite.SetImage (status_image);
|
||||
status_sprite.SetPosition (Window.GetX () / 2 - status_image.GetWidth () / 2,
|
||||
Window.GetY () * 3 / 4, 10);
|
||||
}
|
||||
|
||||
fun boot_progress_callback (duration, progress) {
|
||||
}
|
||||
|
||||
fun quit_callback () {
|
||||
}
|
||||
Reference in New Issue
Block a user