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



commit 06c6d8dd1b43c6352dd7d13a81a98cac6d9f8f78
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 8cc370b..29e21a1 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,6 +141,8 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
             "LC_PAPER",
             "LC_TELEPHONE",
             "LC_TIME",
+            "LD_LIBRARY_PATH",
+            "PERL5LIB",
             "WINDOWPATH",
             "XCURSOR_PATH",
             "XDG_CONFIG_DIRS",


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