diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-12-11 03:58:18 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-12-11 03:58:18 -0600 |
commit | 4b12fa25776b5f38e1e5e5a935efa2a2059d51d7 (patch) | |
tree | eb1fd102b7cd297814ddcf07596de548dd54ca71 | |
parent | 39dd5776f79d8af759419eedf7e9d4eb96853bca (diff) | |
download | horizon-4b12fa25776b5f38e1e5e5a935efa2a2059d51d7.tar.gz horizon-4b12fa25776b5f38e1e5e5a935efa2a2059d51d7.tar.bz2 horizon-4b12fa25776b5f38e1e5e5a935efa2a2059d51d7.tar.xz horizon-4b12fa25776b5f38e1e5e5a935efa2a2059d51d7.zip |
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.
-rw-r--r-- | ui/qt5/horizonwizard.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |