[systemd-commits] Makefile.am xorg/50-systemd-user.sh
Kay Sievers
kay at kemper.freedesktop.org
Fri Jan 9 12:41:56 PST 2015
Makefile.am | 4 ++++
xorg/50-systemd-user.sh | 3 +++
2 files changed, 7 insertions(+)
New commits:
commit 1401ec2d34bcde406ced531a72dc46ebaf332594
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 9 21:23:48 2015 +0100
push xorg information to the systemd --user instance
diff --git a/Makefile.am b/Makefile.am
index e024748..aa5580b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,6 +84,7 @@ sysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
varlogdir=$(localstatedir)/log
systemdstatedir=$(localstatedir)/lib/systemd
catalogstatedir=$(systemdstatedir)/catalog
+xinitrcdir=$(sysconfdir)/X11/xinit/xinitrc.d
# Our own, non-special dirs
pkgsysconfdir=$(sysconfdir)/systemd
@@ -2474,6 +2475,9 @@ dbus1-generator-install-hook:
dbus1-generator-uninstall-hook:
rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
+dist_xinitrc_SCRIPTS = \
+ xorg/50-systemd-user.sh
+
INSTALL_EXEC_HOOKS += dbus1-generator-install-hook
UNINSTALL_EXEC_HOOKS += dbus1-generator-uninstall-hook
endif
diff --git a/xorg/50-systemd-user.sh b/xorg/50-systemd-user.sh
new file mode 100755
index 0000000..f4df13b
--- /dev/null
+++ b/xorg/50-systemd-user.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+systemctl --user import-environment DISPLAY XAUTHORITY
More information about the systemd-commits
mailing list