Re: [gpm] How I be aware that hiberating is taken place?
- From: Richard Hughes <hughsient gmail com>
- To: zhu minjue <zu real miracle gmail com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] How I be aware that hiberating is taken place?
- Date: Thu, 26 Mar 2009 12:21:08 +0000
On Tue, 2008-12-23 at 14:39 +0800, zhu minjue wrote:
> I am studying GPM now.I have a application that want to know the system
> whether is shuted down(or hibernated) or not.How can I use GPM to
> achieve this purpose?Is there any DBUS message I can call in my program?
> Thanks!
You can use a hook in pm-utils, although you have to ask yourself why
your application know about the sleep action.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]