From d032185815931beb3562e9165e351a91874b0d96 Mon Sep 17 00:00:00 2001 From: Martin Klapetek Date: Fri, 3 Jul 2015 17:27:28 +0200 Subject: [PATCH] [bin] dbus-send requires --print-reply in order for service activation to work --- bin/plasma-phone.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/plasma-phone.cmake b/bin/plasma-phone.cmake index dd188bd5..efb4955c 100644 --- a/bin/plasma-phone.cmake +++ b/bin/plasma-phone.cmake @@ -33,10 +33,11 @@ export FORCE_RIL_NUM_MODEMS=1 # upstart user session has useful bits like mtp-server init --user & +# start mission control +dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.Telepathy.MissionControl5 uint32:0 sleep 5 paplay /usr/share/sounds/sitter/brmm.ogg & exec /usr/bin/plasmashell -p org.kde.plasma.phone 2>/tmp/plasmashell_logs -dbus-send --session --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.Telepathy.MissionControl5 uint32:0