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

Andras Mantia amantia at kde.org
Wed Jan 9 13:44:28 GMT 2008


Hi,

 right now if you set KDETMP and KDEVARTMP to a non-existing directory, 
startup of KDE will fail (lnusertemp cannot create the directory). This 
can happen if you want to have a system where you can run both KDE4 and 
KDE3 session for the same user and you need to set different temporary 
directories.
 The main problem lies in lnusertemp which has its own idea how a 
temporary directory should look like, completely ignoring what the user 
set up, and I didn't want to mess with it, so I rather simply changed 
the startkde script so it creates the temporary directories if they do 
not exist, just like it's done for the KDEHOME directory.

Comments are welcome.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startkde.patch
Type: text/x-diff
Size: 484 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080109/788facf2/attachment.patch>
-------------- 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/788facf2/attachment.sig>


More information about the kde-core-devel mailing list