From 4b12fa25776b5f38e1e5e5a935efa2a2059d51d7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 11 Dec 2023 03:58:18 -0600 Subject: Qt UI: Enable SDDM service when pkg is selected It's very likely that if the user selected "graphical login" in the custom packages screen, they want the service to actually start on boot. --- ui/qt5/horizonwizard.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 985f416..298cd15 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -654,7 +654,7 @@ QString HorizonWizard::toHScript() { [[ fallthrough ]]; #endif case Compact: - lines << "pkginstall adelie-base sddm netsurf featherpad sddm x11"; + lines << "pkginstall adelie-base netsurf featherpad sddm x11"; lines << ("pkginstall " + packagesForDesktop(desktopType)); lines << "svcenable elogind"; lines << "svcenable sddm"; @@ -665,6 +665,10 @@ QString HorizonWizard::toHScript() { case Custom: lines << "pkginstall adelie-base-posix"; if(!packages.empty()) lines << ("pkginstall " + packages.join(" ")); + if(packages.contains("sddm")) { + lines << "svcenable elogind"; + lines << "svcenable sddm"; + } break; } -- cgit v1.2.3-60-g2f50