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.

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

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to