diff --git a/src/launch/launcher.c b/src/launch/launcher.c index a4b74604..5933f1e0 100644 --- a/src/launch/launcher.c +++ b/src/launch/launcher.c @@ -898,7 +898,7 @@ static int launcher_load_standard_session_services(Launcher *launcher, NSSCache size_t n; data_dirs = getenv("XDG_DATA_DIRS") ?: - "/usr/local/share:/usr/share"; + "/etc:/usr/local/share:/usr/share"; while (*data_dirs) { sep = strchr(data_dirs, ':'); @@ -925,6 +925,7 @@ static int launcher_load_standard_session_services(Launcher *launcher, NSSCache static int launcher_load_standard_system_services(Launcher *launcher, NSSCache *nss_cache) { static const char *default_data_dirs[] = { + "/etc", "/usr/local/share", "/usr/share", "/lib",