This patch ensures '.desktop' files are picked up in the system profile and not in the directories listed in $XDG_DATA_DIRS. The latter includes 'gnome-session.desktop', which should be used if it's in /run/current-system/profile, and only then. Fixes . --- a/daemon/gdm-session.c 2021-07-23 15:16:15.164201000 +0000 +++ b/daemon/gdm-session.c 2021-09-26 08:18:58.730134555 +0000 @@ -354,25 +354,19 @@ GArray *search_array = NULL; char **search_dirs; int i; - const gchar * const *system_data_dirs = g_get_system_data_dirs (); static const char *x_search_dirs[] = { "/etc/X11/sessions/", DMCONFDIR "/Sessions/", DATADIR "/gdm/BuiltInSessions/", - DATADIR "/xsessions/", + "/run/current-system/profile/share/xsessions/", }; - static const char *wayland_search_dir = DATADIR "/wayland-sessions/"; + static const c
aboutsummaryrefslogtreecommitdiff
path: root/tests/lint.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-10-17 04:24:44 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-18 22:41:02 -0500
commit