summaryrefslogtreecommitdiff
path: root/desktop/NsCDE/xinitrc.NsCDE
diff options
context:
space:
mode:
authorDamian Perticone <mjolnirdam@gmail.com>2022-08-12 22:45:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-13 00:21:38 +0700
commit262f33098260c9e5edb4d8c25bbbd4f756d811ca (patch)
treef1f1ec7a6364f7d0c314dc2148b7ec4ce2fd7432 /desktop/NsCDE/xinitrc.NsCDE
parentee20cf627a3daa7faa4d284913081aa99082d600 (diff)
downloadslackbuilds-262f33098260c9e5edb4d8c25bbbd4f756d811ca.tar.gz
desktop/NsCDE: Updated for version 2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/NsCDE/xinitrc.NsCDE')
-rw-r--r--desktop/NsCDE/xinitrc.NsCDE6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/NsCDE/xinitrc.NsCDE b/desktop/NsCDE/xinitrc.NsCDE
index 87aa57a765..265426fae6 100644
--- a/desktop/NsCDE/xinitrc.NsCDE
+++ b/desktop/NsCDE/xinitrc.NsCDE
@@ -1,6 +1,12 @@
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
+## Reinvoke within a dbus session:
+
+if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x /usr/bin/dbus-run-session ]; then
+ exec dbus-run-session -- $0 "$@"
+fi
+
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources