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 . diff -ur a/daemon/gdm-session.c b/daemon/gdm-session.c --- a/daemon/gdm-session.c 2019-09-25 10:40:24.000000000 -0400 +++ b/daemon/gdm-session.c 2020-04-18 18:30:02.671856808 -0400 @@ -348,24 +348,18 @@ 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 con
aboutsummaryrefslogtreecommitdiff
path: root/COPYING
blob: 94a9ed024d3859793618152ea559a168bbcbb5e2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42