slocate in the default desktop install

Stefan Potyra stefan.potyra at informatik.uni-erlangen.de
Mon Feb 11 11:55:01 GMT 2008


Hi,

Am Montag, 11. Februar 2008 12:46 schrieb Matt Zimmerman:
> On Mon, Feb 11, 2008 at 11:31:44AM +0000, Thom May wrote:
> > * Matt Zimmerman (mdz at ubuntu.com) wrote :
> > > Should we still ship slocate on desktops?
> >
> > I think this is another "good unix desktop" issue. Do we still care that
> > old-school types expect locate to work?
> > Tracker doesn't fully replace it - if I expect to be able to figure out
> > where some file under /srv is, I can't do that with tracker anyway can I?
> > So I think we should ship /some/ locate.
>
> The main issue I see with it is that (in contrast to tracker) it is
> invisible to the casual user.  They can't tell why their system has slowed
> to a crawl, and can't cancel the indexing operation which is in progress.
> This is particularly insidious when they also don't benefit from the
> results.
>
> Should every Ubuntu desktop user have to update this index every day so
> that we UNIX weenies can use locate?
>
> Perhaps it could only start updating the indexes if someone has tried to
> use locate at least once...

I guess this might be confusing for a user, as the behaviour/speed of the 
system varies on the basis of having run a command or not.

Personally, I enjoy using locate, but I dislike the automatic indexing, so 
I've turned this off completely. IIRC locate will usually tell me that the 
database is old. (the corresponding update command could easily get displayed 
there as well, if it isn't already).

Maybe that would be an option?

Cheers,
    Stefan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20080211/1cf1d3ae/attachment.pgp 


More information about the ubuntu-devel mailing list