Catching resume from suspend?

Dario Freddi drf54321 at gmail.com
Sun Dec 6 21:55:47 GMT 2009


On Sunday 06 December 2009 16:06:40 Anders Lund wrote:
> David Jarvie skrev:
> > 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.
> 
> I will attempt to use this, for a plasma dataengine. But I guess the
>  correct address would be the powerdevil kded module, which could broadcast
>  it for general use?

Again, relying on pm-utils it's probably a no-go, it could be possible to add 
in solid, hence powerdevil, if the upower people are interested in such a 
thing

> 

-- 
-------------------

Dario Freddi
KDE Developer
GPG Key Signature: 511A9A3B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091206/c34cdf06/attachment.sig>


More information about the kde-core-devel mailing list