I've been reading this question, and I'm wondering what is the procedure for suspending in KDE? Whether to RAM or to disk..

When I click suspend, or close the lid, what gets triggered? What is the chain of events that lead to a certain program getting executed? Thank you.


KDE has a device integration framework called Solid.

You can see the API documentation for it here: http://api.kde.org/4.14-api/kdelibs-apidocs/solid/html/index.html

When you click suspend, solid sends a dbus message to Upower (http://upower.freedesktop.org/), the underlying framework, requesting a suspend.

You can simulate a suspend from the command line by doing

 qdbus org.kde.Solid.PowerManagement /org/freedesktop/PowerManagement Suspend
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.