On Sat, Feb 26, 2011 at 10:16 AM, Niels Mayer <[email protected]> wrote: > http://nielsmayer.com/meego/netbook-ia32-1.2/tracker-banshee-kernel-fail.txt
Seems like issues related to tracker have come up in Maemo previously. IMHO, for MeeGo 1.2, without some special customization or GUI tools that come up during firstboot to give the user some choice in the system behavior, we'll be revisiting some of the 'tracker' issues currently affecting Maemo: http://talk.maemo.org/showthread.php?t=61960 ..................... Flandry 09-09-2010 , 12:03 AM For those that don't know, tracker is the utility that watches for new media and makes thumbnails of new images on your N900. It has been widely cursed and hated for its poor behavior and can cause sluggish response time while doing its thing -- which it tends to do right when you want to use your N900, like when taking a bunch of photos. There is a configuration file for tracker in /home/user/.config/tracker/ called tracker.cfg. By default it has quite a few comments that can be helpful in deciphering the settings, but i find i'm still not really sure what the default behavior of tracker is. There's also an app called tracker-cfg that lets you edit these settings with a GUI. There are three categories you can put individual folders into that determine how tracker treats them (please correct any errors here) (Edit: see this later post for links to more complete descriptions): crawl - scan the folder only when it is first mounted and index any relevant files watch - every time the folder contents change, reindex it don't watch - don't ever index the directory The way these are specified can be a bit confusing, because for example you specify a root folder to be watched (meaning tracker will automatically watch all its subfolders). It's not clear if it works the same way for the other two lists. I'd appreciate a description of the behavior if anyone understands it. In particular, i'm wondering what the default rule is for folders not specifically included in any lists. and whether the "do not watch" list is for directory roots or just individual directories. The current configuration on my N900 is supposed to be not watching a specific directory of web images, but i keep seeing them show up in the images listing after rebuilding the database. (tracker-processes -r) Some of the other options are a bit confusing as well. Is there better documentation for this somewhere? Thanks in advance for whatever insights you might have on the inner workings of tracker. I'd like to tame it! ........................... Although tracker.cfg from Maemo isn't on the MeeGo 1.2 netbook, /home/npm/.config/tracker/tracker-miner-fs.cfg looks like the file I need to modify to turn off tracker.... There's a bunch of values in here that are non-optimal, IMHO: ............................ [General] # Log verbosity (0=errors, 1=minimal, 2=detailed, 3=debug) Verbosity=0 # Time in seconds before crawling filesystem (0->1000) InitialSleep=15 [Monitors] # Set to false to completely disable any monitoring EnableMonitors=true [Indexing] # Sets the indexing speed (0->20, where 20=slowest speed) Throttle=0 # Set to true to index while running on battery IndexOnBattery=false # Set to true to index while running on battery for the first time only IndexOnBatteryFirstTime=true # Set to true to enable traversing mounted directories for removable devices # (this includes optical discs) IndexRemovableMedia=true # Set to true to enable traversing CDs, DVDs, and generally optical media # (if removable devices are not indexed, optical discs won't be either) IndexOpticalDiscs=false # Pause indexer when disk space is <= this value # (0->100, value is in % of $HOME file system, -1=disable pausing) LowDiskSpaceLimit=1 # List of directories to crawl recursively for indexing (separator=;) # Special values include: (see /etc/xdg/user-dirs.defaults & $HOME/.config/user-dirs.default) # &DESKTOP # &DOCUMENTS # &DOWNLOAD # &MUSIC # &PICTURES # &PUBLIC_SHARE # &TEMPLATES # &VIDEOS # If $HOME is the default below, it is because $HOME/.config/user-dirs.default was missing. IndexRecursiveDirectories=&DESKTOP;&DOCUMENTS;&DOWNLOAD;&MUSIC;&PICTURES;&VIDEOS; # List of directories to index but not sub-directories for changes (separator=;) # Special values used for IndexRecursiveDirectories can also be used here IndexSingleDirectories=$HOME; # List of directories to NOT crawl for indexing (separator=;) IgnoredDirectories=po;CVS;core-dumps;lost+found; # List of directories to NOT crawl for indexing based on child files (separator=;) IgnoredDirectoriesWithContent=backup.metadata; # List of files to NOT index (separator=;) IgnoredFiles=*~;*.o;*.la;*.lo;*.loT;*.in;*.csproj;*.m4;*.rej;*.gmo;*.orig;*.pc;*.omf;*.aux;*.tmp;*.po;*.vmdk;*.vm*;*.nvram;*.part;*.rcore;lzo;autom4te;conftest;confstat;Makefile;SCCS;litmain.sh;libtool;config.status;confdefs.h; # Interval in days to check the filesystem is up to date in the database. If set to 0, crawling always occurs on startup, if -1 crawling is disabled entirely. Maximum is 365. CrawlingInterval=0 .............................. Niels http://nielsmayer.com _______________________________________________ MeeGo-community mailing list [email protected] http://lists.meego.com/listinfo/meego-community http://wiki.meego.com/Mailing_list_guidelines
