From 43ecf7f54f17eba403ae70419a7c8d7b6421e6b3 Mon Sep 17 00:00:00 2001 From: nocode Date: Sat, 4 Jul 2026 01:01:20 +0200 Subject: [PATCH] chore(releng): add pipewire and bluetooth packages to desktop environments Add PipeWire audio stack (pipewire, pipewire-pulse, wireplumber, pavucontrol) and Bluetooth support (bluez, bluez-utils, blueman) to xfce and hyprland package lists to ensure they are installed alongside the desktop environment. Enable bluetooth.service at installation time for hyprland to have Bluetooth ready at first boot. Update comments to reflect the new guaranteed installation of audio and Bluetooth components as part of the desktop environment transaction. --- .../usr/share/anaconda/interactive-defaults.ks | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks index 6cef60d..ea05fc9 100644 --- a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks +++ b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks @@ -274,10 +274,13 @@ case "$DESK" in # (agent d'authentification GUI), network-manager-applet (réseau dans le # tray), xdg-desktop-portal-hyprland (partage d'écran/portails), gvfs # (montage USB dans thunar), ttf-nerd-fonts-symbols (icônes waybar). - # Le son (PipeWire+pavucontrol), le Bluetooth (bluez+blueman) et la - # luminosité (brightnessctl) sont installés par fws-setup-hardware. - xfce) PKGS="xfce4 xfce4-goodies sddm noto-fonts"; DM="sddm" ;; - hyprland) PKGS="hyprland kitty wofi waybar sddm noto-fonts thunar hyprlock grim slurp wl-clipboard playerctl mako libnotify polkit-gnome network-manager-applet xdg-desktop-portal-hyprland gvfs ttf-nerd-fonts-symbols"; DM="sddm" ;; + # Son et Bluetooth GARANTIS avec le bureau : la stack PipeWire + le + # mixeur (pavucontrol) + bluez/blueman partent dans la MÊME transaction + # pacman que le DE — si le bureau s'installe, ses gestionnaires aussi + # (fws-setup-hardware les re-propose ensuite en --needed : sans effet + # s'ils sont déjà là, filet de secours sinon). + xfce) PKGS="xfce4 xfce4-goodies sddm noto-fonts pipewire pipewire-pulse wireplumber pavucontrol"; DM="sddm" ;; + hyprland) PKGS="hyprland kitty wofi waybar sddm noto-fonts thunar hyprlock grim slurp wl-clipboard playerctl mako libnotify polkit-gnome network-manager-applet xdg-desktop-portal-hyprland gvfs ttf-nerd-fonts-symbols pipewire pipewire-alsa pipewire-pulse wireplumber pavucontrol bluez bluez-utils blueman"; DM="sddm" ;; cli|*) PKGS="" ;; esac # Navigateur de base ajouté DÈS QU'un bureau est choisi (jamais en CLI). @@ -373,6 +376,9 @@ HYEOF sed -i 's|^Exec=.*|Exec=/usr/local/bin/fws-hyprland|' \ /usr/share/wayland-sessions/hyprland.desktop fi + # Bluetooth prêt au 1er démarrage (bluez vient d'être installé + # avec le bureau ; fws-setup-hardware le refait — idempotent). + systemctl enable bluetooth.service 2>/dev/null || true fi else echo "[FWS] Bureau '$DESK' non installé (réseau ?) — à refaire après le 1er boot."