Re: [newbie] Kmail hangs - finding files

2003-12-05 Thread Anne Wilson
On Thursday 04 Dec 2003 9:20 pm, Ronald J. Hall wrote:

 DJ  And BTW: Before Anne asks. Yes I have updated the TWiki

 lol

eg

And BTW, this DJ quoting does come out peculiarly if the line length 
is slightly different -

DJ  I just wanted to get over the point that if the user leaves the 
system
 as DJ  default then their jobs will never get done if they switch 
off at
 night. DJ
DJ  derek

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Kmail hangs - finding files

2003-12-04 Thread Derek Jennings
On Thursday 04 Dec 2003 2:24 pm, Derek Jennings wrote:

 
  Thanks Ronald, but I am looking for a GUI solution.
  Yes, I can always su, updatedb, then slocate - and it
  does work good!  However, I am shocked to see only one
  gui based file search program installed in MDK 9.1,
  not to mention it doesn't even work... Any more ideas?

 Yes I have two
 klocate and kio_locate
 You will need to compile klocate yourself, but kio_locate is available in
 contrib.

 kio_locate allows you to search by typing
 locate:/string
 in the url line of konqueror.
 It uses slocate as its backend which means that it will only find files
 that have been indexed in the slocate database. The job to do the indexing
 runs at 4am each morning, so if you switch your computer off at night you
 will need to install anacron to run the job for you in the morning. I have
 a write up here
 http://www.jennings.homelinux.net/modules.php?name=Newsfile=articlesid=7

 After you install slocate and kio_locate packages run updatedb as root to
 initialise the database for the first time.

 derek

If I can add to my own post.
I appear to have already made an RPM of klocate
I did it for 9.1, but it works on 9.2 as well.
It is available in the download area of my site.

Also the syntax for using kio_locate is :-
locate:/string/

Plus I wanted to emphasise how useful it is for desktop users to install 
anacron. Without anacron to run jobs which a server would do in the middle of 
the night your logs and your tmp folder will become huge, and lots of 
necessary housekeeping will not get done. The downside is that anacron will 
cause the hard drive to go berserk 15 minutes after you boot your computer. 
Do not panic it isn't broken. 

derek

-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Kmail hangs - finding files

2003-12-04 Thread Ronald J. Hall
On Thursday 04 December 2003 09:38 am, Derek Jennings wrote:

DJ  Plus I wanted to emphasise how useful it is for desktop users to install
DJ  anacron. Without anacron to run jobs which a server would do in the
 middle of DJ  the night your logs and your tmp folder will become huge, and
 lots of DJ  necessary housekeeping will not get done. The downside is that
 anacron will DJ  cause the hard drive to go berserk 15 minutes after you
 boot your computer. DJ  Do not panic it isn't broken.
DJ
DJ  derek
DJ

Derek, you can adjust the time that anacron updates the db though, right? 
Isn't that the part that really thrashes your HD on most (user/desktop) 
setups? For some reason I'm thinking it can be made to run later rather than 
sooner...

Personally, it never bothered me though... :-)

-- 

   /\
 DarkLord
   \/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Kmail hangs - finding files

2003-12-04 Thread Derek Jennings
On Thursday 04 Dec 2003 2:59 pm, Ronald J. Hall wrote:
 On Thursday 04 December 2003 09:38 am, Derek Jennings wrote:
 DJ  Plus I wanted to emphasise how useful it is for desktop users to
  install DJ  anacron. Without anacron to run jobs which a server would do
  in the middle of DJ  the night your logs and your tmp folder will become
  huge, and lots of DJ  necessary housekeeping will not get done. The
  downside is that anacron will DJ  cause the hard drive to go berserk 15
  minutes after you boot your computer. DJ  Do not panic it isn't broken.
 DJ
 DJ  derek
 DJ

 Derek, you can adjust the time that anacron updates the db though, right?
 Isn't that the part that really thrashes your HD on most (user/desktop)
 setups? For some reason I'm thinking it can be made to run later rather
 than sooner...

 Personally, it never bothered me though... :-)

man anacrontab tells you how to adjust it.
Or you could simply adjust the time of your cron.daily and cron.weekly jobs to 
a time when the computer is likely to be switched on.
It is logrotate and updatedb that really thrashes the HD.

I just wanted to get over the point that if the user leaves the system as 
default then their jobs will never get done if they switch off at night.

derek

And BTW: Before Anne asks. Yes I have updated the TWiki
-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com