Re: suspend/hibernate in the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-03-28 at 11:40 +0100, Richard Hughes wrote:
> On Tue, 2006-03-28 at 03:48 +0100, Leon wrote:
> > > For command line use 'pm-suspend'; it doesn't require root if (and only
> > > if) you are logged in at the console.
> > >
> > >     David
> > 
> > Thanks a lot, David.
> 
> If you are in a session, and want gnome-power-manager do do fancy things
> for you (like disconnect and reconnect NetworkManager, and lock the
> screen, etc) you can do:
[...]
> But maybe pm-suspend will do everything you need to do.

gnome-power-manager calls pm-suspend or pm-hibernate (depending on what
you ask it to do), which already has code to notify NM and such.

Look around in /etc/pm/hooks for details.

-- 
  Peter

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux