diff options
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | README | 13 | ||||
-rw-r--r-- | python/deskbar-handler/README | 12 | ||||
-rw-r--r-- | src/trackerd/tracker-utils.c | 5 |
4 files changed, 38 insertions, 6 deletions
@@ -1,7 +1,17 @@ + +2007-07-09 Patch from Tshepang Lekhonkhobe <tshepang@gmail.com> + + * README: updates + * Low Memory mode added to config file + * Deskbar handler README + + 2007-07-09 Jamie McCracken <jamiemcc at gnome org> * Optimized tracker_debug and related logging funcs * Made use of Setrlimit for limiting memory specific to i386 arch (its buggy on amd64) + * updated to latest gtk xdgmime + 2007-07-09 Patch from Jason Kivlighn <jkivlighn@gmail.com> @@ -138,7 +148,11 @@ * Added OnlyShowIn to desktop file * Added missing config var in configure.ac +2007-04-28 Tshepang Lekhonkhobe <tshepang@gmail.com> + * src/trackerd/trackerd.c: + * src/trackerd/trackerd-utils.c: Fix verbosity code + * README: added a note on how to change inotify limits 2007-06-30 Patch from Anders Rune Jensen <anders@iola.dk> @@ -193,7 +193,9 @@ parameters to autogen.sh EG ./autogen.sh --disable-fam) --disable-preferences : disables the tracker-preferences capplet ---enable-deskbar-applet : enables support for deskbar applet +--enable-deskbar-applet : enables support for deskbar applet; also refer to + python/deskbar-handler/README (from the root of the source directory) for + further instructions on how to get this working --disable-gui : disables building of tracker-search-tool @@ -241,6 +243,12 @@ with it on full throttle without experiencing slow downs. You can specify directory roots to be excluded from being watched or indexed by passing -e directory for each directory root +You can specify logging verbosity by passing --verbosity. Valid values are +from 0 to 3, ranging from least to most verbose respectively. + +Yet another option is --language which allows for specifying the language to +use for stemmer and stop-words list. + All the above options (and more) can be set by editing ~/.config/tracker.cfg which is created with specific defaults when non-existent (EG when trackerd is ran for the first time). Ensure that you restart trackerd for the @@ -253,6 +261,9 @@ EG: WatchDirectoryRoots=directory1;directory2;directory3 +An additional option, introduced during the 0.6 development cycle, is the +--reindex option which indexes user data from scratch, removing the need to +remove Tracker database manually. On the first run, Tracker will automatically create a new database and start populating it with metadata by browsing through the user's home directory (or diff --git a/python/deskbar-handler/README b/python/deskbar-handler/README index be0e29b78..c721b6c40 100644 --- a/python/deskbar-handler/README +++ b/python/deskbar-handler/README @@ -1,19 +1,21 @@ -tracker-handler.py is a (gnome) deskbar handler providing the results of a tracker powered search in deskbar. +tracker-handler.py is a (gnome) deskbar-handler providing the results of a +Tracker-powered search in deskbar-applet. ----------Requirements---------- * python-dev (>= 2.3) +* python-gtk2-dev (>= 2.3) * deskbar-applet (>= 2.14.2) * tracker(>= 5.0) If you use Ubuntu these can be installed via apt-get with this command: -sudo apt-get install python-dev deskbar-applet +sudo apt-get install python-dev python-gtk2-dev deskbar-applet ----------Installation----------- cp ./*.py ~/.gnome2/deskbar-applet/handlers/ ----------Configuration----------- -you can eventually change the number of results from Tracker the deskbar handler displays around line #22: -(default is 2) +you can eventually change the number of results deskbar-handler displays +around line #22 of the source code (default is 10): -MAX_RESULTS = 5 +MAX_RESULTS = 10 diff --git a/src/trackerd/tracker-utils.c b/src/trackerd/tracker-utils.c index be3fe15cf..564d0f08d 100644 --- a/src/trackerd/tracker-utils.c +++ b/src/trackerd/tracker-utils.c @@ -2267,6 +2267,8 @@ tracker_load_config_file () "[General]\n", "# Log Verbosity - Valid values are 0 (displays/logs only errors), 1 (minimal), 2 (detailed), and 3 (debug)\n", "Verbosity=0\n\n", + "# Minimizes the use of memory but may slow indexing down\n", + "LowMemoryMode=false\n\n", "[Watches]\n", "# List of directory roots to index and watch seperated by semicolons\n", "WatchDirectoryRoots=", g_get_home_dir (), ";\n", @@ -2326,6 +2328,9 @@ tracker_load_config_file () tracker->verbosity = g_key_file_get_integer (key_file, "General", "Verbosity", NULL); } + if (g_key_file_has_key (key_file, "General", "LowMemoryMode", NULL)) { + tracker->use_extra_memory = !g_key_file_get_boolean (key_file, "General", "LowMemoryMode", NULL); + } /* Watch options */ |