installer.kmdr: hopefully fix reboot button: use dbus-send instead of missing qdbus
This commit is contained in:
parent
b609b81d95
commit
6db4e3e04e
@ -1516,7 +1516,8 @@ elif [ "$DESKTOP_SESSION" == "lxde" -o "$DESKTOP_SESSION" == "LXDE" ]; then
|
|||||||
/org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
|
/org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
|
||||||
else
|
else
|
||||||
# assume KDE4 as default (or use KDE_FULL_SESSION == true)
|
# 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
|
fi
|
||||||
@endif
|
@endif
|
||||||
</string>
|
</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user