Setup suspend-on-lid-close/Fn+F4 outside of KDE/Gnome?
Posted
by
maxschlepzig
on Ask Ubuntu
See other posts from Ask Ubuntu
or by maxschlepzig
Published on 2010-08-29T20:26:46Z
Indexed on
2011/02/01
7:33 UTC
Read the original article
Hit count: 266
On current Ubuntu (10.04) suspend-on-lid/Fn+F4 only works if some powermanagement-applet of KDE/gnome is running.
But what about suspend-to-lid if you are working on the console or using a non-bloated window-manager?
What is the current mechanism to configure suspend-on-lid system wide?
What of hald/udev/acpid/foo-kit/random-thing is the right place to hook this feature in?
What is the up-to-date command to suspend from the command line/script?
echo -n mem > /sys/power/state
pm-suspend
pmi
or something else?
Btw, if it matters, I want to configure it on some Thinkpads.
© Ask Ubuntu or respective owner