summaryrefslogtreecommitdiff
path: root/debian/dbus-Xsession
blob: af7ba492921d6275a39327273e6e0cdebc5b0a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $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 [ -x "$DBUSLAUNCH" ]; then
    STARTDBUS=yes
  fi
fi

if [ -n "$STARTDBUS" ]; then
  STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
fi