Message: previous - next
Month: November 2011

Re: [trinity-devel] KDE3 Profile Migration Script

From: Laurent Dard <f.couperin@...>
Date: Thu, 01 Dec 2011 04:34:31 +0100
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