Supporting Base Dir Spec

Jasper Huijsmans jasper at xfce.org
Fri Sep 10 08:28:35 CEST 2004


On Thu, Sep 09, 2004 at 12:17:20PM -0700, Brian J. Tarricone wrote:
...
> > However...
> > 
> > if Olivier can write a compositor for xfwm4 in two weeks, we for sure should
> > be able to use the new locations in all modules, right? ;-)
> > 
> > I mean this isn't exactly rocket science...
> > 
> > Olivier, do you have any objections to me trying to get this done now? I don't
> > really mind, but it's just something I'd like to have.
> 
> i'm in favor of this as well, though the problem remains of making sure the
> users' old settings get migrated.  the original plan was to run a script on
> startup, perhaps via the session manager, or something.  i'm thinking maybe
> it might be a better idea to do that in each of the apps themselves.  i can
> probably whip up a quick generic function to move settings files and
> directories such that all everyone has to do is paste it in their main.c and
> fill in a static array (or 2) of things to move.  i tend to think that a script
> is easier, but something like this might be more reliable.  we can leave it in
> through the life of 4.2, and take it out in the 4.3 cycle (or, if it's needed
> again, use it).  thoughts?
> 

Yeah, apps should do this themselves. Less error-prone. Don't move it, btw,
it's better to copy (user might want to go back, however unlikely that seems
to us ;-). 

Either that or simply look in the old location when nothing is found in the
xdg dirs.

I like the idea of drop-in functions though ;-)

	Jasper



More information about the Xfce4-dev mailing list