[gnome-session/gnome-3-20] gnome-session: update activation environment at startup
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session/gnome-3-20] gnome-session: update activation environment at startup
- Date: Tue, 24 May 2016 13:04:58 +0000 (UTC)
commit 2871a12398d7d1d67911f9bc15b5b214359b7773
Author: Ray Strode <rstrode redhat com>
Date: Mon May 9 09:59:20 2016 -0400
gnome-session: update activation environment at startup
The dbus daemon gets started before some environment variables
are set at start up.
This commit makes sure the dbus daemon is given a clean snapshot
of the environment at the time the session is started.
This is a near-term workaround for
https://github.com/alexlarsson/xdg-app/issues/147
and will probably go away when we figure out a story for bug 736660
https://bugzilla.gnome.org/show_bug.cgi?id=766176
gnome-session/gnome-session.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in
index fdf7163..38ab5ba 100644
--- a/gnome-session/gnome-session.in
+++ b/gnome-session/gnome-session.in
@@ -1,5 +1,7 @@
#!/bin/sh
+dbus-update-activation-environment --all ||:
+
SETTING=$(gsettings get org.gnome.system.locale region)
REGION=${SETTING#\'}
REGION=${REGION%\'}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]