Suspend/Hibernate functions in logout dialog too hard to find

Bug #267663 reported by Ian Barton
12
Affects Status Importance Assigned to Milestone
KDE Base
Unknown
Wishlist
kdebase-workspace (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: kdebase-workspace

I suspect that this must have been reported already, but I can't find the report:) I have just installed KDE 4.1 from the ppa packages at http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu. The log out dialog doesn't have Suspend or Hibernate buttons. However, running pm-suspend from the command line works correctly.

Ian.

Revision history for this message
In , Cromwell (cromwell) wrote :

(*** 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)

Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

see bug #65499 for a different variation of the same request.

Revision history for this message
In , Y-coolo (y-coolo) wrote :

Replaced <email address hidden> with <email address hidden> due to bounces by reporter

Revision history for this message
In , kgoeser (kevin-kevin-online) wrote :

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)

Revision history for this message
In , Renchi-raju (renchi-raju) wrote :

*** Bug 77384 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Renchi-raju (renchi-raju) wrote :

*** Bug 65499 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Pi4pourriel (pi4pourriel) wrote :

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.

Revision history for this message
In , SteBo (stebo) wrote :

*** Bug 128451 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Michael-jahn (michael-jahn) wrote :

*** Bug 111390 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Matthew Flaschen (matthew-flaschen) wrote :

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.

Revision history for this message
In , Raul Sanchez Siles (rasasi78) wrote :

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.

Revision history for this message
In , Kde-bugs (kde-bugs) wrote :

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.

Revision history for this message
In , Raul Sanchez Siles (rasasi78) wrote :

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.

Revision history for this message
In , Kde-bugs (kde-bugs) wrote :

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?

Revision history for this message
In , Shinobu Maehara (congruwer) wrote :

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.

Revision history for this message
In , mestre.adamastor (mestre.adamastor) wrote :

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

Revision history for this message
In , Kde-bugs (kde-bugs) wrote :

> AFAIK such options don't exist yet for kdm

kubuntu has them.

Revision history for this message
In , mestre.adamastor (mestre.adamastor) wrote :

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

Revision history for this message
In , Kde-bugs (kde-bugs) wrote :

uhm, confused it. my bad, but it never occured to me to shutdown/suspend/... from kdm_greeter

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Clicking and holding down on the arrow of the "Turn off computer" button will open up a submenu with suspend options.
The issue here would be that they are not discoverable enough. I will change the bug title to reflect this.

Changed in kdebase-workspace:
status: New → Confirmed
Changed in kdebase-workspace:
importance: Undecided → Wishlist
Revision history for this message
Ian Barton (ian-manor-farm) wrote :

Thanks, that does work. Howeverm if you just click the arrow. rather than click and hold, it has the effect of clicking the Shutdown button. IMHO this is a useability/interface bug. A single click should open the submenu.

Ian.

Revision history for this message
In , Psychonaut (psychonaut) wrote :

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.

Revision history for this message
In , Neoclust-kde (neoclust-kde) wrote :

this is stuff added by OpenSuse, it would be nice to have them merged in trunk

Changed in kdebase-workspace:
status: Confirmed → Triaged
Changed in kdebase:
status: Unknown → Confirmed
Revision history for this message
In , Jérôme (jerome-bouat) wrote :

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)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there,
We are in the process of closing wishlist items that have already been reported at KDE. Don't worry, your issue still is being tracked at KDE's bug tracker at: http://bugs.kde.org/show_bug.cgi?id=33839 . It's just that Kubuntu currently does not have the manpower necessary to take this feature on ourselves. We will receive this functionality once KDE implements it in one of their releases.

Thanks for understanding, and have a nice day.

Changed in kdebase-workspace (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

*** Bug 210583 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

*** Bug 235073 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Octavian Petre (octavsly) wrote :

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

Changed in kdebase:
importance: Unknown → Wishlist
Revision history for this message
In , urxvt (urxvt-deactivatedaccount-deactivatedaccount) wrote :

Any update on this? Will KDE SC 4.7 bring us anything new regarding this?

Revision history for this message
In , Christoph-maxiom (christoph-maxiom) wrote :

*** Bug 279070 has been marked as a duplicate of this bug. ***

Revision history for this message
In , urxvt (urxvt-deactivatedaccount-deactivatedaccount) wrote :

Created attachment 64295
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...

Revision history for this message
In , ronny (ronny-standtke) wrote :

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.

Changed in kde-baseapps:
status: Confirmed → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.