-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matt Sheffield wrote: | That method has improved performance for me. However by default, Debian | deletes the contents of the /tmp directory on reboot. Thus, the .ICE-unix and | all of the mcop and dcop directories need to be recreated each time you start | your machine up from scratch. But once these things have been set up, I've | found that KDE will start up quite speedily. | | I don't like the slow first startup as I can't leave my system on all the | time. I'd like to disable /tmp clearing and clean things up myself. How does | one go about this? Which init scrip is it?
I have edited /etc/init.d/bootmisc.sh About 40 lines down I added a line:
( cd /tmp && \ ~ find . -xdev \ ~ $TEXPR \ ~ ! -name . \ ~ ! \( -name lost+found -uid 0 \) \ ~ ! \( -name quota.user -uid 0 \) \ ~ ! \( -name quota.group -uid 0 \) \ ~ ! \( -name .ICE-unix -uid 0 \) \ # This is the new line ~ ! \( -name .journal -uid 0 \) \ ~ -depth -exec rm -rf -- {} \; ) rm -f /tmp/.X*-lock
I haven't rebooted yet, so I don't know if it works.
Regards, Søren.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+k8dCcbQPnYLQykcRAuS7AJ93fiM4DS2Q+Ktbikb+NgRW4S40qwCfShCY 6RCXJuag2YkiYX0mmHes5U0= =4G2O -----END PGP SIGNATURE-----