Re: Deprecating slocate for desktop users?
Jan Claeyswrote: Op vrijdag 04-01-2008 om 04:33 uur [tijdzone -0500], schreef Bryan Quigley: Is there any possibility of have locate use the tracker database? Tracker databases are currently per-user, so I don't think that would be useful. Maybe if there ever exists a concept of a system database next to the user database in Tracker...? The problem is, Tracker only indexes home folders, not the whole filesystem. And Tracker uses a complex indexing with keywords that is not needed for locate. Merging the per-user databases would be a mess, so forget it... By the way, exluding home directories from the updatedb path could be nice: we don't need to index user folders because Tracker is doing that, and this would avoid much work for updatedb. Still, rlocate seems to be a nice improvement (combined or not with the latter feature): it's a locate implementation that uses a kernel module to store a list of modified/moved files and folders, and once a day (or when you want) this list is read and the database is updated via a diff. Looks more advanced than mlocate, isn't it? http://rlocate.sourceforge.net/ Just a few ideas -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Deprecating slocate for desktop users?
Op vrijdag 04-01-2008 om 04:33 uur [tijdzone -0500], schreef Bryan Quigley: Is there any possibility of have locate use the tracker database? Tracker databases are currently per-user, so I don't think that would be useful. Maybe if there ever exists a concept of a system database next to the user database in Tracker...? -- Jan Claeys -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Deprecating slocate for desktop users?
Hi Timo Jyrinki wrote: use. Still, I think there is no GUI for it anyway, and everyone's home directories are now indexed by Tracker, so what's the point? Speaking for myself, I regularly use slocate to find things that are outside my home directory (not that I use tracker for things that are in my home directory - I put them where they are, so I know where they are ;) Cheers, -- Chris Jones -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Deprecating slocate for desktop users?
Chris Jones kirjoitti: Speaking for myself, I regularly use slocate to find things that are outside my home directory (not that I use tracker for things that are in my home directory - I put them where they are, so I know where they are ;) I also use slocate sometimes, and I don't use tracker myself at the moment since I know where my files generally are. But: if The GUI search tool nowadays is tracker, and any ordinary person basically only searches for files inside the home directory (and if not, they should go to Indexing Preferences to set additional directories for tracker), and no-one uses slocate except for those who actually know it beforehand, why include it by default and cause daily hard disk churn for every Ubuntu user? Anyone who knows the slocate tool, and command line in general, can apt-get install slocate at will. And the slowdown is not just daily, ie. sometime at night, since people don't generally have their computers on 24h/day. Basically it happens every time the computer is started on a new day. cron.daily is run, which includes running slocate on the whole hard disk even though 99%+ of the users probably never utilize the database generated by it. So still, I argue that slocate should be _at least_ moved to cron.weekly, with the additional steps I'd hope for too: 1. move to cron.monthly instead of cron.weekly 2. switch from slocate to mlocate 3. remove mlocate/slocate dependency from Ubuntu default desktop installation (leave it on server installations) -Timo -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Deprecating slocate for desktop users?
Timo Jyrinki a écrit : snip So still, I argue that slocate should be _at least_ moved to cron.weekly, with the additional steps I'd hope for too: 1. move to cron.monthly instead of cron.weekly 2. switch from slocate to mlocate 3. remove mlocate/slocate dependency from Ubuntu default desktop installation (leave it on server installations) That seems just common sense, but last time (not the first) I rose this issue here, people preferred to keep Ubuntu geek-compliant. The argument is (mainly) that it's an almost standard Unix tool, and that sometimes normal users need help from admins that expect the tool to be here. Though, I think the best is not to install it, because if it's installed and not enabled/up-to-date it may be confusing. But when you type 'locate', our nice apt tells you to install package XXX, which will be done in a few seconds, and a few minutes for updatedb to run (once for all if you regularly administer this machine). One day this wil change.. ;-) Cheers -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Deprecating slocate for desktop users?
On Thu, 2008-01-03 at 12:49 +, Chris Jones wrote: Hi Timo Jyrinki wrote: use. Still, I think there is no GUI for it anyway, and everyone's home directories are now indexed by Tracker, so what's the point? Speaking for myself, I regularly use slocate to find things that are outside my home directory (not that I use tracker for things that are in my home directory - I put them where they are, so I know where they are ;) I also regularly use slocate, please keep it. -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Deprecating slocate for desktop users?
Op donderdag 03-01-2008 om 16:37 uur [tijdzone +0100], schreef Milan: But when you type 'locate', our nice apt tells you to install package XXX, It's 'command-not-found' and 'bash' which tell you that... ;) -- Jan Claeys -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss