Just how can I securely shutdown/reboot/logout KDE from the command line?

I am not speaking about shutdown and also reboot commands. I intend to launch the very same regimen from command line that would certainly be executed if I would certainly push the logout/reboot/shutdown switch inside the KDE desktop computer.

2019-05-04 06:07:46
Source Share
Answers: 1

For kde4 :

qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1

The 3 integer parameters are the confirm, sdtype and also sdmode debates to KWorkSpace::requestShutDown. Their values are clarified on top of the web page.

2019-05-07 20:32:46