El 07/06/13 13:05, Malte Gell escribió:
Am 07.06.2013 18:13, schrieb Cristian Rodríguez:
In most cases, you can remove both pm-utils and suspend
Ok.
What is now the recommended way for suspending with kernel 3.9.x? What is the recommended command to suspend from the command line?
In the other thread Andrey gave the answer
systemctl suspend (or hibernate or hybrid-sleep)
When I delete pm-utils and suspend, is KDE able to automatically use systemctl?
You are confused, but to make the answer clear YES, KDE is able to suspend/hiberate with systemd. (so does GNOME, now XFCE also) Does the system have a priority what to use, when both,
pn-utils/suspend and systemctl is available?
Here is when I will explain the confusion: - if pm-utils is not installed, systemd will do its own thing. - Desktop environments do not use systemctl, they either suspend/hibernate via upower or by talking to systemd-logind via DBUS. "systemctl" is a human interface for you the system administrator, not a programming interface..large programs or frameworks should not use it at all. that being said, there is buggy/crazy software like YAST that do it anyway though. (this is wrong..wrong... wrooong and kittens will die in the future unless it gets fixed) All non-trivial programs must communicate with systemd using the DBUS interfaces, no exceptions ;P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org