From bbf9c0c61d6d521ea19a51fd11971bb096bcd832 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Tue, 15 Sep 2015 09:36:01 +0530 Subject: [PATCH] Start kscreen_backend_launcher before starting plasmashell This way plasmashell restart itself on crash. --- bin/plasma-phone.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/plasma-phone.cmake b/bin/plasma-phone.cmake index 1fbc2c49..3e3ba3ea 100644 --- a/bin/plasma-phone.cmake +++ b/bin/plasma-phone.cmake @@ -42,4 +42,7 @@ dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/D sleep 1 paplay /usr/share/sounds/sitter/ohits.ogg & +# Start kscreen_backend_launcher manually so plasmashell can restart properly +@CMAKE_INSTALL_FULL_LIBEXECDIR_KF5@/kscreen_backend_launcher --backend QScreen & + exec /usr/bin/plasmashell -p org.kde.plasma.phone 2>/tmp/plasmashell_logs