Re: [SLUG] Death to trackerd

2007-12-03 Thread bill
Only yesterday I installed LinuxMint 4.0 (Gnome) on one of my PCs which 
has 5 HDD's ( which Mint automounts), 4 of them full of data ( almost) 
and wondered why the drives were coninually bashng away.


Finally remembered about indexing ( had same problem with Beagle on 
Kubuntu some time ago).


Fixed problem - removed tracker from system.

Why distros don't give one the option of install/don't install such 
programs I cannot understand, especially when distro concerned 
automounts everything.


Bill
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-03 Thread Jeff Waugh
quote who=bill

 Why distros don't give one the option of install/don't install such
 programs I cannot understand

Because if you take that choice into account, there are 100 more that people
will whinge about. The best approach is to do the right thing by default and
let users with specific needs use the fully installed, complete interface to
modify their environment. Unfortunately in this case, I'm not sure the right
decision was made at the beginning of that process (ie. include tracker).

- Jeff

-- 
linux.conf.au 2008: Melbourne, Australiahttp://lca2008.linux.org.au/
 
   He'd never undressed a woman with his eyes. Perhaps army boots, school
uniform, or a nightie, but never undressed.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Death to trackerd

2007-12-02 Thread Erik de Castro Lopo
Hi all,

Once again, on my laptop, I have had to issue a:

  sudo dpkg --purge tracker libdeskbar-tracker tracker-utils \
  tracker-search-tool
  rm -rf ~/.cache/tracker/

to get rid of this CPU sapping and disk filling parasite. I noticed
it when I had a compile running slower than it should have. I ran
top and sure enough, there was trackerd chewing away my CPU and after
a bit of fiddling with find, there was a 900 megabyte tracker cache
file.

The thing is, I know I had to delete this thing when I upgraded to
Feisty and again when I upgraded to Gutsy some months ago, but now I
had to do it again. It must have been re-installed when I upgraded
or installed something else.

As a preventative measure, in case it gets installed again, I edited
~/.config/tracker/tracker.cfg and set the following variables:

LowMemoryMode=true
InitialSleep=4500
WatchDirectoryRoots=~/.cache/tracker
EnableWatching=false

I also deleted all 900 megabytes in ~/.cache/tracker and then made
that directory read only.

On my laptop I have 800 megabytes of PDF (technical papers, PhD theses
etc), and about a gigabyte of source code. The source code includes
multple Bzr branches of my own stuff and a bunch of stuff off the net,
from tarballs and from public CVS/Bzr/SVN/etc repositories. The stuff
from the net can hang around for as little as a couple of hours before 
being deleted.

For the source code, I simply don't want something as stupid as tracker
digging through this stuff.

For the PDFs, I actually would like to have something that indexes
it and allows me to search, but again I think tracker is way to stupid
for this task.

So, does anyone have anything positive to say about trackerd?

Erik
-- 
-
Erik de Castro Lopo
-
Open Source and Free Software means that you never sacrifice quality
of the code for meeting deadlines set up by people not participating
directly in the software development process.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Robert Collins

On Sun, 2007-12-02 at 22:25 +1100, Erik de Castro Lopo wrote:

 So, does anyone have anything positive to say about trackerd?

It shows how hard robust and painless indexing is to achieve :).

-Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Death to trackerd

2007-12-02 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 So, does anyone have anything positive to say about trackerd?

No, but Beagle 0.3.0 was recently released, which is a massive improvement
on previous (already better than tracker) versions. Maybe give it a whirl.
I have absolutely no idea why Canonical chose to ship Tracker... Ugh.

I exclude ~/src because I don't find desktop search of source code useful.
:-)

- Jeff

-- 
GNOME.conf.au 2008: Melbourne, Australia http://live.gnome.org/Melbourne2008
 
Professor Tanenbaum did not convince AdTI that Linus Torvalds wrote
the Linux kernel from scratch. - Ken Brown, Sponsored Moron
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Erik de Castro Lopo
Jeff Waugh wrote:

 No, but Beagle 0.3.0 was recently released, which is a massive improvement
 on previous (already better than tracker) versions. Maybe give it a whirl.
 I have absolutely no idea why Canonical chose to ship Tracker... Ugh.

Maybecause beagle has mono? :-)
 
 I exclude ~/src because I don't find desktop search of source
 code useful.

Exactly. And while tracker allows you to include directories ie
/home/$USER, it doesn't allow you to exclude directories like
/home/$USER/Bzr, /home/$USER/SVN and /home/$USER/CVS.
 
Erik
-- 
-
Erik de Castro Lopo
-
Gambling(n): A discretionary tax on those asleep during high school
maths.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 What does that do to the config file? .config/tracker/tracker.cfg

Aha, you are lucky that I still have one lying around:

  NoWatchDirectory=/home/jdub/src;

(Which means Tracker doesn't use gconf for this stuff... Holy moly...)

- Jeff

-- 
linux.conf.au 2008: Melbourne, Australiahttp://lca2008.linux.org.au/
 
   In C, just getting a socket open or something can make you feel like
you accomplished something. - Colin Walters
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Erik de Castro Lopo
Jeff Waugh wrote:

 On the Ignored Files tab of the (hideous) Tracker preferences dialogue,
 you can add ignored paths. I had /home/jdub/src in that list.
 
 http://perkypants.org/blog/wp-content/uploads/2007/10/tracker-ignored-files.png


What does that do to the config file? .config/tracker/tracker.cfg

Erik
-- 
-
Erik de Castro Lopo
-
The beauty of religious mania is that it has the power to
explain everything. Once God (or Satan) is accepted as the first
cause of everything which happens in the mortal world, nothing
is left to chance...logic can be happily tossed out the window.
- Stephen King
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 Jeff Waugh wrote:
 
  No, but Beagle 0.3.0 was recently released, which is a massive
  improvement on previous (already better than tracker) versions. Maybe
  give it a whirl.  I have absolutely no idea why Canonical chose to ship
  Tracker... Ugh.
 
 Maybecause beagle has mono? :-)

They already ship mono stuff (as does everyone else).

  I exclude ~/src because I don't find desktop search of source code
  useful.
 
 Exactly. And while tracker allows you to include directories ie
 /home/$USER, it doesn't allow you to exclude directories like
 /home/$USER/Bzr, /home/$USER/SVN and /home/$USER/CVS.

On the Ignored Files tab of the (hideous) Tracker preferences dialogue,
you can add ignored paths. I had /home/jdub/src in that list.

http://perkypants.org/blog/wp-content/uploads/2007/10/tracker-ignored-files.png

- Jeff

-- 
linux.conf.au 2008: Melbourne, Australiahttp://lca2008.linux.org.au/
 
   'Cause remember, smug is beautiful. - Zachary Beane
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Erik de Castro Lopo
Jeff Waugh wrote:

 Aha, you are lucky that I still have one lying around:
 
   NoWatchDirectory=/home/jdub/src;

Thanks Jdub. Tracker might now actually do something sensible on
my machine even if the defaults are completely braindead for a
power user like me.

Erik
-- 
-
Erik de Castro Lopo
-
Every line of code you write that you feel gross about will ultimately
come back to haunt you. Therefore, avoid writing code that makes you feel
dirty. -- Scott Hanselman
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread James Dumay

 (Which means Tracker doesn't use gconf for this stuff... Holy moly...)


Yuck! its not like its bloody hard to hack applications to use GConf!

My flatmate had similar issues to Eric when he upgraded to Gutsy. The
default resource allocation for Tracker is unlimited. So it scanned all 80
gigs of existing data when he first logged in after upgrading.

When I asked him how he liked the new release he replied - Bloody slow.

- James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Erik de Castro Lopo
James Dumay wrote:

 My flatmate had similar issues to Eric when he upgraded to Gutsy.

I have not now, nor have I ever been called 'Eric'. Its Erik,
with a 'k' :-).

Erik
-- 
-
Erik de Castro Lopo
-
C is a programming language. C++ is a cult.
-- David Parsons in comp.os.linux.development.apps
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread Michael Lake

Erik de Castro Lopo wrote:

James Dumay wrote:


My flatmate had similar issues to Eric when he upgraded to Gutsy.


I have not now, nor have I ever been called 'Eric'. Its Erik,
with a 'k' :-).


http://en.wikipedia.org/wiki/Eric
'The name Eric is of Scandinavian origin. It is derived from the name Eiríkr, meaning 
complete ruler or ever ruler from the words aiza, honor, or ei ever and 
ríkr,ruler in Old Norse. The most common historical form is Erik.'


:-)

Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Death to trackerd

2007-12-02 Thread James Dumay
Sorry! :(

On Dec 2, 2007 4:49 PM, Erik de Castro Lopo [EMAIL PROTECTED] wrote:

 James Dumay wrote:

  My flatmate had similar issues to Eric when he upgraded to Gutsy.

 I have not now, nor have I ever been called 'Eric'. Its Erik,
 with a 'k' :-).

 Erik
 --
 -
 Erik de Castro Lopo
 -
 C is a programming language. C++ is a cult.
 -- David Parsons in comp.os.linux.development.apps
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html