Tag Info

New answers tagged

0

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 ...


0

Upower no longer handles suspend/resume. That's done by logind. Of course, I have what I believe to be the correct version of systemd (which provides logind) and the correct version of upower, and I still have problems (though not with crunchbang). In any case, make sure you have systemd=215-5+b1, libpam-systemd=215-5+b1 and policykit-1=0.105-7 $ qdbus ...


1

I suspect you are using systemd. If that is true then use its built-in tool systemctl: systemctl suspend systemctl hibernate systemctl hybrid-sleep systemctl reboot systemctl poweroff systemctl halt As always you can create an alias for any of these commands.


1

What about pm-utils? Typing pm-suspend at the console suspends on demand. You can install both acpid and acpi-support to sleep your laptop when you close the lid. You have to uncomment LID_SLEEP=true in /etc/default/acpi-support to get the lid working. It did not require policykit-1 for me, but for full disclosure I am on jessie.



Top 50 recent answers are included