[gdm/wip/3v1n0/more-launch-environments: 3/3] launch-environment: Export library and gio paths



commit 09435436701ef4b0a5559010262db022b94aafb4
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Mon May 7 17:21:07 2018 +0100

    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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795886

 daemon/gdm-launch-environment.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 8f6ec0b..a0738e5 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -122,6 +122,10 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
         GHashTable    *hash;
         struct passwd *pwent;
         static const char *const optional_environment[] = {
+                "GI_TYPELIB_PATH",
+                "GST_PLUGIN_PATH_1_0",
+                "GST_REGISTRY_1_0",
+                "GST_REGISTRY",
                 "LANG",
                 "LANGUAGE",
                 "LC_ADDRESS",
@@ -137,7 +141,9 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
                 "LC_PAPER",
                 "LC_TELEPHONE",
                 "LC_TIME",
+                "LD_LIBRARY_PATH",
                 "PATH",
+                "PERL5LIB",
                 "WINDOWPATH",
                 "XCURSOR_PATH",
                 "XDG_CONFIG_DIRS",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]