(*** This bug was imported into bugs.kde.org ***) Package: kdm Version: KDE 2.2.1 Severity: wishlist Installed from: Mandrake RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified Among the list of shutdown options (shutdown reboot etc) there should be a "sleep" option which invokes APM. Currently I have two options: (a) invoke APM from an xterm myself. Trouble with this is that I'm logged in when the computer is woken up and I do have multiple users. (b) Set my bios to go to sleep after a couple of hours of inactivity. It looks like I can do this from within KDE as well (I haven't tried this). But this sucks because it means I can't do a long FTP without the computer going to sleep and disconnecting me. I want to be able to log out at night and then select "sleep" from KDM! As a final cheap shot - Windows 2000 does this very nicely. Regards. Jon (Submitted via bugs.kde.org)
see bug #65499 for a different variation of the same request.
Replaced cromwell@ivwnet.com with null@kde.org due to bounces by reporter
it would be nice if this was configurable, for it is possible to use different power states / implementations (e.g. acpi sleep and software-suspend2 for the disk state)
*** Bug 77384 has been marked as a duplicate of this bug. ***
*** Bug 65499 has been marked as a duplicate of this bug. ***
Suspend option should be implemented only if it's safe http://www.suspend2.net/HOWTO-4.html "Unmounting Filesystems (Unmount) Suspending while network filesystems or removable devices are mounted may lead to unpredictible results." I won't use this option if I am not sure that I won't have a filesystem corruption. If all potential dangers are very well tested, then this feature is good.
*** Bug 128451 has been marked as a duplicate of this bug. ***
*** Bug 111390 has been marked as a duplicate of this bug. ***
Um, this is already implemented. See Power Control - Laptop Battery in KControl. You have to explicitly enable it. I haven't got hibernate yet, but suspend works fine.
Matthew, I think this bug is not ability to do hibernate or suspend, but to have a button on the Finish session/reboot/halt so users could choose this on this dialog.
well, but what about those not using a laptop but a desktop-pc? "Power Control" would not be available in kcontrol until installed explicitely (klaptopdaemon in debian) -- and the neccessary features would not be enabled in kernel because a desktop-pc does not utilize a battery. thus the suspend/hibernate feature would not be there to be enabled.
As I see it, these options altough are handier on a laptop are not exclusive of them, so having them on the finish session dialog shouldn't depend on klaptopdaemon. There are two cases: 1-Suspend to ram: always present on kernel(more or less buggy), but I get it to work. 2-Hibernate to disk: could be included in the kernel and most of times it is. There's also the suspend2 option, which I personally use and like a lot. This latter option isn't normally (and unfortunately) supported on most distros except gentoo(AFAIK). 1st option could always be present, 2nd is optional if the corresponding options are enabled on kernel+hibernate script present. These options works better IHMO with the hibernate scripts. So the hibernate script "could" be a dependence of having the suspend/hibernate options enable.
well, now that the fglrx-driver support wake-up w/o freezing (8.34.8) i gave it a try. klaptopdaemon is installed, all checkboxes (comment #9) are enabled -- but no "hibernate", "standby" whatsoever buttons visible on logout, only "end current session", "turn off", "reboot". so -- did i miss something?
Windows automatically sort of semi logs out before hibernation. Allow me to explain. When you hibernate, it shows a progressbar and when it finishes the computer turns itself of. When you turn it on again, a menu displays showing all logged in users and how many programs are running on behalf of each. These programs actually resume running as soon as the system is up again. Click your username, enter your password (if necessary) and your desktop is displayed. Also, if you do not click any username for an extended period of time (I don't know exactly how long) the system assumes the computer was turned back on by accident and hibernates again. I'm not sure how useful the last feature is, but I can imagine there are situations where such behaviour is wanted.
The possibility of suspending/hibernating on the kdm login greeter would be great. No fancy tricks are required: something like a "SuspendCmd=" and "HibernateCmd=" in kdmrc would already help a lot, see comment #10 (from 1.5 years ago!) AFAIK such options don't exist yet for kdm, but they seem to exist in other login managers (such as gdm). If kdm reacted on closing the laptop's lid by suspending to RAM, that would be the cherry on top...
> AFAIK such options don't exist yet for kdm kubuntu has them.
>> AFAIK such options don't exist yet for kdm > kubuntu has them. I use Kubuntu: suspend/hibernate is available on the logout menu, but not on the kdm greeter, before you login. At the login menu, you can only login, shutdown or reboot.
uhm, confused it. my bad, but it never occured to me to shutdown/suspend/... from kdm_greeter
I'm using openSUSE 11.0 and the KDM greeter screen has both suspend-to-disk and suspend-to-RAM options. Is this standard in KDE 4.x now or is this a custom addition by openSUSE? If the former, I suppose this bug can be marked as fixed.
this is stuff added by OpenSuse, it would be nice to have them merged in trunk
Is this feature always planned to be added ? Below is the use case for which I need the suspend/hiberbate features from KDM greater. The computer is shared with many persons: - we don't want to shut it down when user A logout because it is slow when user B switch the computer on - we don't want to suspend to RAM or hiberbate from logout menu since we don't want the user A session to be restored when only the user B wants to use the computer (consumes memory for the unused session of user A)
*** Bug 210583 has been marked as a duplicate of this bug. ***
*** Bug 235073 has been marked as a duplicate of this bug. ***
Any updates on this? My humble opinion is that it should not be too difficult to add those Suspend/Hibernate buttons on KDM login window. Am I right? Is KDM still actively supported? Thank you in advance for your answers, Octavian
Any update on this? Will KDE SC 4.7 bring us anything new regarding this?
*** Bug 279070 has been marked as a duplicate of this bug. ***
Created attachment 64295 [details] openSuse's patch This is a patch for adding Suspend/Hibernate option to KDM greeter, from openSuse. It can be applied to kde-workspace 4.7.2 but it requires liblazy and hal, so from that point of view it is kinda old and unusable. Perhaps someone could rewrite it for qdbus or whatever...
I have another use case: I have installed Debian with KDE on a Samsung Series 7 Slate tablet. I have configured the power settings so that when I press the power button, the tablet suspends. This works great as long as I am logged in. When I log out and then press the power button, the tablet just shuts down. That's not what I want here... Either the power management settings of kdm should be configurable somewhere or it should provide buttons for suspend and hibernate.
KDM is unmaintained and not used in KDE Plasma 5. SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/