On Wed, 13 Oct 2010 11:12:36 +0200
Susan Dittmar
Quoting Stefan Seyfried (stefan.seyfried@googlemail.com):
By the way, what would be the recomended way of calling suspend to disk? At least for the ThinkPads I tested on, standard installation (openSUSE 11.3) does *not* activate the corresponding function key, so I cannot look it up there.
It depends. KDE or GNOME?
Right now: text console, later: fvmw2. ;-) That's what the future user of the laptop is used to.
OK. The hotkeys are handled by the user's session power management programs. In KDE that's powerdevil (with an apparent bug, which is why I had to set up an "execute command" hotkey that runs the mentioned script). For GNOME, that's gnome-power-manager. For text console, there is still acpid, where you can hook up your own events but it is not configured by default. For fvwm2, it is maybe best to just start some system-tray-simulating applet that then can run gnome-power-manager.
Thanks for your answer though. Just a matter of time until the next laptop has to be setup for someone prefering KDE or GNOME. powersave -U is what I use right now.
powersave -U in the end does only a dbus call, in the end "pm-hibernate" is called via HAL or whatever the power-management-solution-of-the-week is right now. The elegance of "powersave -U" is, that it can be called as a normal user, while pm-hibernate can only be run as root. good luck :-) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." -- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org