[gdm/wip/3v1n0/more-launch-environments: 1/2] launch-environment: export library and gio paths
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/3v1n0/more-launch-environments: 1/2] launch-environment: export library and gio paths
- Date: Mon, 7 May 2018 15:54:54 +0000 (UTC)
commit 86a314f967a9486b1ec9277b288c29986e54f051
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Mon May 7 10:45:47 2018 -0500
launch-environment: export library and gio paths
If launching gdm from special environments (as jhbuild) these should
be forwarded to the children greeter and launched apps too.
daemon/gdm-launch-environment.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 676ebc6..dc63e8e 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -122,11 +122,12 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
GHashTable *hash;
struct passwd *pwent;
static const char * const optional_environment[] = {
- "LANG", "LANGUAGE", "LC_CTYPE", "LC_NUMERIC", "LC_TIME",
- "LC_COLLATE", "LC_MONETARY", "LC_MESSAGES", "LC_PAPER",
+ "GI_TYPELIB_PATH", "GST_PLUGIN_PATH_1_0", "GST_REGISTRY",
+ "GST_REGISTRY_1_0", "LANG", "LANGUAGE", "LC_CTYPE",
+ "LC_NUMERIC", "LC_MONETARY", "LC_MESSAGES", "LC_PAPER",
"LC_NAME", "LC_ADDRESS", "LC_TELEPHONE", "LC_MEASUREMENT",
- "LC_IDENTIFICATION", "LC_ALL", "WINDOWPATH", "XCURSOR_PATH",
- "XDG_CONFIG_DIRS", NULL
+ "LC_IDENTIFICATION", "LC_ALL", "LD_LIBRARY_PATH", "PERL5LIB",
+ "WINDOWPATH", "XCURSOR_PATH", "XDG_CONFIG_DIRS", NULL
};
char *system_data_dirs;
int i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]