Hi there Steve,

On Mon, May 31, 2010 at 01:11:02PM -0700, Steve Langasek wrote:
> Hi Ricardo :)
> 
> On Mon, May 31, 2010 at 12:00:30AM +0200, Ricardo Mones wrote:
> > > An strace of xbindkeys shows that it wakes up 10 times a second to
> > > look for a non-existent config file:
> 
> > > read(3, 0x2641764, 4096)                = -1 EAGAIN (Resource
> > > temporarily unavailable) stat("/home/vorlon/.xbindkeysrc.scm",
> > [...]
> 
> > > *Creating* an empty file there doesn't stop it from doing this,
> > > either. This was annoying to discover on my laptop - that's a big
> > > waste of power for a program that I actually interact with an average
> > > of once a month.
> 
> >   Seems it has already been reported upstream [0] and the patch
> >   accepted, but still no new release. Can you check if it fixes the
> >   problem?
> 
> >   If it does I can upload a patched package in the meantime to
> >   have it fixed in Squeeze for sure.
> 
> > [0] 
> > http://lists.nongnu.org/archive/html/xbindkeys-devel/2010-01/msg00000.html
> 
> Extracting the patch was more pain than it should have been owing to
> whitespace changes mixed in with every revision, but yes, this fixes the CPU
> usage problem.

   Umm, that pain was not expected, do you still have the patch at hand or
   should I suffer it as well?

> (It's unfortunate that it does so at the expense of functionality - perhaps
> someone should tell upstream about inotify?)

  Someone already did [1], though not sure whether the answer is still true
  or not, I'm a inotifygnorant myself ;)

[0] http://lists.nongnu.org/archive/html/xbindkeys-devel/2010-01/msg00001.html
-- 
  Ricardo Mones 
  ~
  Datei nicht gefunden                                     Fehler 404

Attachment: signature.asc
Description: Digital signature

Reply via email to