Start kscreen_backend_launcher before starting plasmashell

This way plasmashell restart itself on crash.
This commit is contained in:
Bhushan Shah 2015-09-15 09:36:01 +05:30
parent af61cab2f7
commit bbf9c0c61d

View file

@ -42,4 +42,7 @@ dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/D
sleep 1 sleep 1
paplay /usr/share/sounds/sitter/ohits.ogg & 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 exec /usr/bin/plasmashell -p org.kde.plasma.phone 2>/tmp/plasmashell_logs