Catching resume from suspend?
David Jarvie
djarvie at kde.org
Sun Dec 6 12:46:55 GMT 2009
On Saturday 05 Dec 2009 20:03:39 Anders Lund wrote:
> Chani skrev:
> > > > now, I get the feeling that since it doesn't Just Work yet, Solid
> > > > doesn't provide us with any such signal. this feels like the sort of
> > > > thing that solid *should* provide, but I don't know enough about the
> > > > low-level details to say how it should be implemented.
> > >
> > > This has recently been discussed on hardware-devel
> > > http://lists.kde.org/?t=125874601600001&r=1&w=2
> >
> > thanks.
> > hmm, not looking very positive right now. silly HAL. but there's got to be
> > a way, right? :)
> >
>
> Appearently, an option is to put a script in /usr/lib/pm-util that sends a
> dbus message. That message could be caught by, say, a plasma dataengine. I
> don't know how portable it is, but for example NetworkManager is using that on
> my system, along with several other applications.
This is something that would be really useful as a generally available signal in KDE. I already had to make KAlarm check every minute in case of a resume, instead of just sleeping until a signal arrived or an alarm was due.
--
David Jarvie.
KDE developer.
KAlarm author: http://www.astrojar.org.uk/kalarm
More information about the kde-core-devel
mailing list