installer.kmdr: hopefully fix reboot button: use dbus-send instead of missing qdbus

This commit is contained in:
Silvan Calarco 2014-08-30 14:03:52 +02:00
parent b609b81d95
commit 6db4e3e04e

View File

@ -1516,7 +1516,8 @@ elif [ "$DESKTOP_SESSION" == "lxde" -o "$DESKTOP_SESSION" == "LXDE" ]; then
/org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
else
# assume KDE4 as default (or use KDE_FULL_SESSION == true)
/usr/bin/qdbus org.kde.ksmserver /KSMServer logout 0 1 2
dbus-send --session --print-reply --dest=org.kde.ksmserver /KSMServer \
org.kde.KSMServerInterface.logout int32:0 int32:1 int32:2
fi
@endif
</string>