[Gossip-dev] Gnome Screensaver Support
Sjoerd Simons
sjoerd at luon.net
Sat Mar 4 12:33:57 CET 2006
On Fri, Mar 03, 2006 at 08:36:17PM +0100, Richard Hult wrote:
> Hi,
>
> Brian Pepple wrote:
> > Is there any interest in adding Gnome ScreenSaver support to Gossip?
> > This would allow away & extended away presence to be change by the dbus
> > signal from Gnome ScreenSaver, instead of using a timer to check the x
> > status periodically as it does now. I was screwing around with dbus
> > this morning, and wrote up a quick little patch to see how involved it
> > would be. It doesn't deal with extended away yet, but that shouldn't be
> > to difficult to add. Before I continued though, I figured I check to
> > see if there is any interest in this.
> >
> > Here's what I've got so far if anyone is interested:
> > http://piedmont.homelinux.org/fedora/gossip/gossip-screensaver.patch
>
> Nice! I'm not sure if it's OK to only add an option if you enable
> another option (gss/dbus here). We should have something like:
>
> --with-idle-checking=gss/xss/auto
It would be much nicer if this was a run-time instead of a compile-time
decision imho. Try to use gnome-screensaver by default, but fallback to xss if
it's not available (i.e. the org.gnome.ScreenSaver service is not on the
session bus). And maybe even go back to using gss if it becomes available (i.e.
somebody claims the service name on the session bus).
This would mean distribution can enable gss by default, without having to worry
that people who don't use it see regressions :)
Sjoerd
--
God grant us the serenity to accept the things we cannot change, courage to
change the things we can, and wisdom to know the difference.
More information about the Gossip-dev
mailing list