On Tue, 2006-12-05 at 14:02 -0500, Dave Jones wrote:
On Tue, Dec 05, 2006 at 12:43:59PM -0500, Matthias Clasen wrote:
> On Tue, 2006-12-05 at 12:04 -0500, Dave Jones wrote:
> > On Mon, Dec 04, 2006 at 01:42:15PM -0500, Bill Nottingham wrote:
> > > Dave Jones (davej(a)redhat.com) said:
> > > > It doesn't strike you that something might be amiss that a 1GHz
CPU
> > > > can't display a menu quick enough ? Shuffling the problem
under the rug
> > > > isn't the way to fix this. Find out why it's taking so
long, and fix that.
> > >
> > > It's scanning the desktop files, almost certainly.
> >
> > If that's the case, it has no excuse for doing so now that we have
> > inotify. It amazes me how much fuss the gnome people made about that
> > feature and how it really absolutely must get into the kernel.
> >
> > It'd be great if stuff actually used it.
>
> gnome-menus uses gamin for notification, which uses inotify. The problem
> is that inotify sucks when it comes to nonexisting files
Can't you add a watch on the directory, and get notification when
a file gets added that way?
Sure. But if that directory is a busy one like, say, $HOME, then you get
a lot of unnecessary wakeups.