summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2018-05-07 17:21:07 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2018-05-07 17:40:54 +0100
commitb6c22a27c58b7fd993d9665c805a02ca9b99faf3 (patch)
treeb64515933f6f4c64531588b86379347abca4a201
parente8967343a6be824a0ec35206f396454dd7930009 (diff)
downloadgdm-wip/3v1n0/more-launch-environments.tar.gz
launch-environment: Export library and gio pathswip/3v1n0/more-launch-environments
If launching gdm from special environments (as jhbuild) these should be forwarded to the children greeter and launched apps too. https://bugzilla.gnome.org/show_bug.cgi?id=795886
-rw-r--r--daemon/gdm-launch-environment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 8f6ec0bd..897ddf46 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -122,6 +122,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
GHashTable *hash;
struct passwd *pwent;
static const char *const optional_environment[] = {
+ "GI_TYPELIB_PATH",
"LANG",
"LANGUAGE",
"LC_ADDRESS",
@@ -137,6 +138,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
"LC_PAPER",
"LC_TELEPHONE",
"LC_TIME",
+ "LD_LIBRARY_PATH",
"PATH",
"WINDOWPATH",
"XCURSOR_PATH",