Le 01/12/2011 00:05, Darrell Anderson a écrit :
Getting the script to ask permission to migrate if
already in X is a
challenge because the user's profile partially exists when
KPersonalizer starts. Therefore any migration needs to happen before
even an empty $HOME/.trinity exists. Can KDialog commands be used at
that point? If not then the only option is xmessage (eew).
Just an idea, I don't know if it's possible:
* Start KDE with a temporary KDEHOME (mktemp)
* Copy $HOME/.kde to $HOME/.trinity (if desired)
* Copy temporary files from $KDEHOME to $HOME/.trinity (if needed)
* Set KDEHOME to $HOME/.trinity
(or restart KDE, but it isn't elegant)
?
--
Laurent Dard