Re: [gpm] How I be aware that hiberating is taken place?



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]