home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / X11 / Xsession.d / 75dbus_dbus-launch < prev    next >
Encoding:
Text File  |  2006-10-20  |  381 b   |  18 lines

  1. # $Id:$
  2. # In order to activate the session bus at X session launch
  3. # simply place use-session-dbus into your /etc/X11/Xsession.options file
  4. #
  5.  
  6. STARTDBUS=
  7. DBUSLAUNCH=/usr/bin/dbus-launch
  8.  
  9. if grep -qs ^use-session-dbus "$OPTIONFILE"; then
  10.   if [ -x "$DBUSLAUNCH" ]; then
  11.     STARTDBUS=yes
  12.   fi
  13. fi
  14.  
  15. if [ -n "$STARTDBUS" ]; then
  16.   STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
  17. fi
  18.