Which distribution are you using, Ubuntu, Arch? Or more specifically, which initscript system are you using, systemd, upstart? For systemd users, this should be a trivial problem and you can check how to handle pm event by checking man logind.conf.
On Wed, Oct 30, 2013 at 11:27 AM, Eugen Dedu < [email protected]> wrote: > On 29/10/13 19:42, Paweł Rumian wrote: > >> >>>suspend2ram when closing the lid (see below for others)? >>> >>>> >>>> >>>> Use/configure acpid >>>> >>> > I suppose that many people there use a laptop which suspends when the lid > closes. I looked on Internet for maybe one hour without finding how to do > it. > http://awesome.naquadah.org/**wiki/PowerManagement<http://awesome.naquadah.org/wiki/PowerManagement>does > not help either. > > With gnome 2 closing the lid made suspend. With gnome 3 it worked too, > but after upgrading to recent gnome 3 it just blanks the screen. Note that > pm-suspend (as root) does work. > > Can someone share with me his solution to make suspend on lid closing? > > -- > Eugen > > > -- > To unsubscribe, send mail to > awesome-unsubscribe@naquadah.**org<[email protected]> > . > -- --------------------------------------------------- Thanks, and best regards! Zhang Tao Dept. Of Computer Science Peking University China
