[PATCH] Make startkde work with not-default KDETMP and KDEVARTMP
faure at kde.org
Thu Jan 10 09:41:26 GMT 2008
On Wednesday 09 January 2008, Andras Mantia wrote:
> On Wednesday 09 January 2008, David Faure wrote:
> > OK, so if lnusertemp already appends kde-$USER to the path, you don't
> > need kde4-`whoami` in your value of $KDETMP in the first place... See
> > what I meant by wrong instructions: you don't need to set KDETMP or
> > KDEVARTMP at all.
> I didn't want to share the temp directories, to be sure that no problem
> is caused by this issue.
> Even if I could, why do we have this variables if they cannot be used in
> a way I described (and like KDEHOME can be)?
> I see no problem with this idea of create the directories if they do not
Every addition to startkde makes KDE startup a tiny bit slower.
I would much rather see lnusertmp code doing a mkdir on the parent dir when necessary.
It's its job, and this way it could be done only when necessary (i.e. if the stuff that lnusertemp
creates doesn't exist yet).
Something like this (untested).
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1286 bytes
Desc: not available
More information about the kde-core-devel