1 2 3 4 5 6 7
#!/bin/sh # Spawn DBus eval `dbus-launch --sh-syntax` trap "kill $DBUS_SESSION_BUS_PID" EXIT "$@"