xfce-mcs-manager -> suggest signal poll interval == 1s

Stephan Arts stephan at xfce.org
Thu May 24 10:27:50 CEST 2007


On 5/24/07, Nick Schermer <nickschermer at gmail.com> wrote:
> 2007/5/24, Jani Monoses <jani.monoses at gmail.com>:
> > >
> > > I can't use powertop on my powerbook, but what about orage, clock and
> > > datetime plugin when they're not displaying seconds? Is it still 1wps or
> > > does it follow the displayed time?
> >
> > you can use plain select, since the culprits in the case of xfce apps are regular syscalls
> > not kernel-space wake-ups.
> >
> > for instance strace -epoll xfce4-mixer will show you it also wakes up every second.
> >
> > strace -epoll `pidof xfce4-panel` shows it waking up every second as well, but since the
> > plugins you mention are in-process I am not sure how to easily tell if it's the panel itself
> > or one of the plugins that is doing the polls
>
> The clock plugin launches every second and because it is an internal
> plugin, xfce4-panel shows a 1s wakeup.
>
> It is possible to launch the clock every minute when seconds are
> disabled, we just need to sync the first minute. I can take a look at
> this when holiday starts, the clock needs some cleanups anyway ;).

Sorry, offtopic... just had to share this:

* Stephan just thought how this would look in the docs:

'If you want to improve the battery-life on laptops, disable the
seconds of the panel-clock'

:-)

>
> Nick

Stephan



More information about the Xfce4-dev mailing list