dbus/tools
Simon McVittie 2a6cefbc3b Add dbus-update-activation-environment tool
If OS builders (distributions) have chosen to use the per-user bus,
this provides two possible modes of operation for compatibility with
existing X session startup hooks.

A legacy-free system can just upload DISPLAY, XAUTHORITY and possibly
DBUS_SESSION_BUS_ADDRESS into dbus-daemon's and systemd's activation
environments, similar to
http://cgit.freedesktop.org/systemd/systemd/tree/xorg/50-systemd-user.sh
installed by systemd (but unlike systemctl,
dbus-update-activation-environment works for traditional
D-Bus-activated services, not just for systemd services).

A system where compatibility is required for environment variables
exported by snippets in /etc/X11/xinit/xinitrc.d (in Red Hat derivatives,
Gentoo, etc.) or /etc/X11/Xsession.d (Debian derivatives) can upload
the entire environment of the X session, minus some selected environment
variables which are specific to a login session (notably XDG_SESSION_ID).

In Debian, I plan to put the former in a new dbus-user-session package
that enables a user-session-centric mode of operation for D-Bus,
and the latter in the existing dbus-x11 package, with the intention that
dbus-x11 eventually becomes a tool for change-averse setups or goes
away entirely.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61301
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
2015-02-24 11:15:52 +00:00
..
.gitignore Add dbus-test-tool, currently with "echo" and "spam" modes 2014-10-14 13:53:54 +01:00
dbus-cleanup-sockets.c dbus-cleanup-sockets: free list of socket entries 2011-01-17 12:18:40 +00:00
dbus-echo.c dbus-test-tool: add black-hole mode 2014-10-14 13:53:59 +01:00
dbus-launch-win.c Fixed compiler warning on windows. 2013-08-19 21:29:26 +02:00
dbus-launch-x11.c Fix spelling/grammatical mistakes detected by Debian's lintian(1) 2011-07-28 11:05:43 +01:00
dbus-launch.c dbus-launch: kill bus if we can't attach to a session when requested 2014-06-11 11:38:24 +01:00
dbus-launch.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
dbus-monitor.c dbus-monitor: Remove empty column in --profile mode. 2015-02-16 15:12:06 +01:00
dbus-print-message.c dbus-send: pretty-print GVariant-style bytestrings 2015-02-16 11:44:16 +00:00
dbus-print-message.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus-run-session.c dbus-run-session: remove various extra variables from the environment 2013-08-23 11:41:16 +01:00
dbus-send.c dbus-send: replace --address with --peer and --bus. 2013-10-09 11:18:20 +01:00
dbus-spam.c dbus-test-tool spam: add --messages-per-conn=N 2014-10-14 13:53:57 +01:00
dbus-update-activation-environment.c Add dbus-update-activation-environment tool 2015-02-24 11:15:52 +00:00
dbus-uuidgen.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
GetAllMatchRules.py GetAllMatchRules: provide an example how it could be used 2014-10-06 12:10:51 +01:00
lcov.am lcov: use builddir, not srcdir 2015-02-02 18:38:07 +00:00
Makefile.am Add dbus-update-activation-environment tool 2015-02-24 11:15:52 +00:00
run-with-tmp-session-bus.sh run-with-tmp-session-bus.sh: create a unique temporary file per process 2013-09-05 12:35:11 +01:00
strtoll.c Include config.h as the first thing in every .c file 2013-02-22 13:08:27 +00:00
strtoull.c Include config.h as the first thing in every .c file 2013-02-22 13:08:27 +00:00
test-tool.c dbus-test-tool: add black-hole mode 2014-10-14 13:53:59 +01:00
test-tool.h dbus-test-tool: add black-hole mode 2014-10-14 13:53:59 +01:00
tool-common.c dbus-monitor: add options to log binary data with or without pcap framing 2015-02-04 17:15:34 +00:00
tool-common.h dbus-monitor: add options to log binary data with or without pcap framing 2015-02-04 17:15:34 +00:00