Message: previous - next
Month: December 2011

Re: [trinity-devel] KDE3 Profile Migration Script

From: Darrell Anderson <humanreadable@...>
Date: Thu, 1 Dec 2011 13:06:14 -0800 (PST)
> > 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)

To all:

I uploaded the proposed migration script in bug report 705. This is a proposed script.

My ego is not that big. Feel free to improve the script in all ways! I added comments in the areas I know needs improvement right now.

Yet overall the script works wonderfully well here. So we're off to a good start. :)