void-packages/srcpkgs/sddm/patches/0.19.0--default-path.patch

23 lines
1.1 KiB
Diff

From 57d716be7cb0588538d89bb72113bec82adf9e52 Mon Sep 17 00:00:00 2001
From: Piotr Wójcik <chocimier@tlen.pl>
Date: Mon, 26 Jun 2023 23:15:05 +0200
Subject: default-path
diff --git a/src/common/Configuration.h b/src/common/Configuration.h
index cf44a62..4c01c4a 100644
--- a/src/common/Configuration.h
+++ b/src/common/Configuration.h
@@ -82,7 +82,7 @@ namespace SDDM {
);
Section(Users,
- Entry(DefaultPath, QString, _S("/usr/local/bin:/usr/bin:/bin"), _S("Default $PATH for logged in users"));
+ Entry(DefaultPath, QString, _S("/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin"), _S("Default $PATH for logged in users"));
Entry(MinimumUid, int, UID_MIN, _S("Minimum user id for displayed users"));
Entry(MaximumUid, int, UID_MAX, _S("Maximum user id for displayed users"));
Entry(HideUsers, QStringList, QStringList(), _S("Comma-separated list of users that should not be listed"));
--
2.41.0