aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-07-09 10:11:13 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-07-09 10:11:43 +0200
commitf1414dd07a9d0a18f7982c11376f6228b9abee02 (patch)
tree8fdaaa0b0e3b669004f2ea6fb5ee172a271099e9
parent1aeb61ffaf15a37183d672b02e9f917401877ab5 (diff)
downloadarctica-greeter-main.tar.gz
arctica-greeter-main.tar.bz2
arctica-greeter-main.zip
src/session-list.vala: Document SUSE's handling of default.desktop in /usr/share/xsessions/.main
-rw-r--r--src/session-list.vala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session-list.vala b/src/session-list.vala
index 8354f00..5149cc5 100644
--- a/src/session-list.vala
+++ b/src/session-list.vala
@@ -59,6 +59,12 @@ public class SessionPrompt : PromptBox
}
}
/* Pick the default session (if different from selected session) and add it as next item.
+ *
+ * In SUSE and derivatives, LightDM ships a distro-specific patch that hides the default.desktop
+ * (and other) symlink(s) from LightDM.
+ * https://build.opensuse.org/projects/X11:Utilities/packages/lightdm/files/lightdm-ignore-known-symlink-sessions.patch?expand=1
+ *
+ * So the next if-clause won't take effect on SUSE-based systems.
*/
if (session != default_session) {
foreach (var dm_session in dm_sessions)