[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No suspend-to-disk with kde



Filip wrote:
On Tue, 13 May 2014 18:39:43 +0200
Hans <hans.ullrich@loop.de> wrote:

Hi folks,
I am looking for a problem in KDE.

Problem: I cannot suspend to disk in KDE from the menu. The button
exists, but has no effekt.
Suspend-to-ram is working well in KDE.

On the other hand the commands "hibernate-disk" and "hibernate-ram"
as root are working well.


In the big desktop environments, suspend and hibernate is triggered by
sending a request via dbus to upowerd.

You can simulate it on the command line with:

$ dbus-send --print-reply  --system \
	--dest=org.freedesktop.UPower       \
     	/org/freedesktop/UPower        \
	org.freedesktop.UPower.Hibernate

UPower doesn't do the actual hibernate but in it's turn has to forward
the request to a backend, which could be pm-suspend (from pm-utils), or
systemd-logind, or maybe something else.

There is so many layers where things can go wrong. Those developers of
big bloated desktop environments sure like to make things ugly and
complex, when they could be simple and straightforward.



Indeed. Like 'acpitool -S'

Hugo


Reply to: