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



commit 155d1ccf9c675d032879b9935f92bf4655351b59
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]