[PATCH] Make startkde work with not-default KDETMP and KDEVARTMP

Andras Mantia amantia at kde.org
Wed Jan 9 14:43:07 GMT 2008

On Wednesday 09 January 2008, David Faure wrote:
> On Wednesday 09 January 2008, Andras Mantia wrote:
> > Hi,
> >
> >  right now if you set KDETMP and KDEVARTMP to a non-existing
> > directory, startup of KDE will fail (lnusertemp cannot create the
> > directory).
> Actually, this only happens if you set them to a non-existing
> directory inside a non-existing directory, no? If you set them to
> /tmp/foo it works, if you set them to /tmp/doesnotexist/foo it
> doesn't work. This is a corner case that is IMHO a configuration bug
> and not worth the risk of an unportable call. It's just that many
> people hit that bug in the past due to a wrong recommendation in the
> wiki page (from me, but it's all coolo's fault initially :-).

Unfortunately not. Here is what I do:
 *kde4*) export KDEHOME=$HOME/.kde4
         export KDETMP=/tmp/kde4-`whoami`
         export KDEVARTMP=/var/tmp/kdecache4-`whoami`

(this is in .xinitrc to set the variables if I run a KDE4 session).

If /tmp/kde4-user and /var/tmp/kdecache4-user does not exists, it will 
not start up.


Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080109/af58d444/attachment.sig>

More information about the kde-core-devel mailing list