From f1414dd07a9d0a18f7982c11376f6228b9abee02 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 9 Jul 2024 10:11:13 +0200 Subject: src/session-list.vala: Document SUSE's handling of default.desktop in /usr/share/xsessions/. --- src/session-list.vala | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v1.2.3