Proposal: D-Bus service to watch user activity (for IM messaging away and so on)

Lubos Lunak l.lunak at suse.cz
Mon May 3 21:03:03 BST 2010


On Monday 03 of May 2010, Rolf Eike Beer wrote:
> Sebastian TrĂ¼g wrote:
> > Hi list,
> >
> > currently Kopete has an implementation of user activity monitoring which
> > enables its auto-away feature. Konversation and friends could use the
> > same mechanism. The Nepomuk strigi service also has a very crappy user
> > activity monitor and could use a better one.
> >
> > Thus, I though about a D-Bus service which does exactly that and emits
> > signals like
> >
> > userActive()
> >
> > userInactive(since)
> >
> > and the latter could either be emitted in regular intervals or clients
> > would register to get events at a certain frequency.
> >
> > How about it? Is this something that would be acceptable as a KDED
> > module even?

 Yes.

>
> This basically sounds like what a screensaver would do anyway. And marking
> the user as away when he locks his screen also sounds like a good idea to
> me. So there is probably another place that could share that code.

 Actually I think that the current screensaver code should move either to this 
new KDED module or (probably better) another one building on top of it. It 
doesn't really make that much sense to have screensaver handling depending on 
an application for poping up a 'Run command' dialog.

-- 
 Lubos Lunak
 openSUSE Boosters team, KDE developer
 l.lunak at suse.cz , l.lunak at kde.org




More information about the kde-core-devel mailing list