thinrasp/etc_org/X11/Xsession.d/75dbus_dbus-launch
2019-11-26 21:36:24 +01:00

18 lines
406 B
Plaintext

# $Id:$
# In order to activate the session bus at X session launch
# simply place use-session-dbus into your /etc/X11/Xsession.options file
#
STARTDBUS=
DBUSLAUNCH=/usr/bin/dbus-launch
if has_option use-session-dbus; then
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x "$DBUSLAUNCH" ]; then
STARTDBUS=yes
fi
fi
if [ -n "$STARTDBUS" ]; then
STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
fi