|
From: Tony H. <h...@re...> - 2007-01-28 00:55:27
|
In <45b...@mx...>, Lennon Cook wrote: > Tony Houghton <h...@re...> wrote: > > I've made a symlink between ~/Choices and > > ~/.config/rox.sourceforge.net. > A cleaner way is to set $CHOICESPATH and $XDG_CONFIG_HOME to be the > same. XDG_CONFIG_HOME should be ~/.config while CHOICESPATH should be ~/.config/rox.sourceforge.net IMO. > > Unfortunately there's also some > > confusion as to whether OroboROX uses ~/.config/OroboROX or > > ~/.config/rox.sourceforge.net/OroboROX. > There is? On my system, it always uses the former. Ah, that's because you've set both variables. From its AppRun: if [ x"$XDG_CONFIG_HOME" = x"" ] ; then if [ x"$CHOICESPATH" = x"" ] ; then XDG_CONFIG_HOME="$HOME/.config" else XDG_CONFIG_HOME=`echo $CHOICESPATH | sed s/:.*//` fi fi OROBOROX_CONFIG_HOME="$XDG_CONFIG_HOME/$PROG" export OROBOROX_CONFIG_HOME I don't think this is The Right Thing To Do. I'll propose an alternative tomorrow, when I'm less tired, and upload it to svn if people agree it's an improvement. -- TH * http://www.realh.co.uk |