[PATCH] pass DBUS_SESSION_BUS_ADDRESS for gnome3
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Jun 30 18:41:29 CEST 2015
* common/session-env.c add DBUS_SESSION_BUS_ADDRESS to stdenvnames.
pinentry-gnome3 talks to the gcr prompter via dbus. Without this
environment variable, it can't find the correct session to talk to.
---
common/session-env.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/session-env.c b/common/session-env.c
index c0500ea..171bf8f 100644
--- a/common/session-env.c
+++ b/common/session-env.c
@@ -72,6 +72,8 @@ static struct
modules (eg "@im=SCIM"). */
{ "GTK_IM_MODULE" }, /* Used by gtk to select gtk input
modules (eg "scim-bridge"). */
+ { "DBUS_SESSION_BUS_ADDRESS" },/* Used by GNOME3 to talk to gcr over
+ dbus */
{ "QT_IM_MODULE" }, /* Used by Qt to select qt input
modules (eg "xim"). */
{ "INSIDE_EMACS" }, /* Set by Emacs before running a
--
2.1.4
More information about the Gnupg-devel
mailing list