About XDG specification implementation in Gutsy
Ouattara Oumar Aziz (alias wattazoum)
wattazoum at gmail.com
Sat Jul 14 01:40:44 UTC 2007
Christopher James Halse Rogers a écrit :
> On Sat, 2007-07-14 at 02:51 +0200, Ouattara Oumar Aziz (alias wattazoum)
>> I am very happy to see that Gutsy started to implement the XDG
>> specification. That makes a cleaner and more usable desktop. But is it
>> decide to implement the whole specification :
>> In the specification there is some env vars to get where the software
>> should set there conf files and their datas. But I don't have those vars
>> in Gutsy. Should I anyway develop my software to be compliant to it
>> (meaning that they will be implemented ) or should I continue the old way ?
> You'll notice from that spec that if the environment variables are unset
> then your app should use the default dirs instead. Thus, for example,
> config should go in $XDG_CONFIG_HOME/appname, or ~/.config/appname if
> that variable is unset.
> There's no need for Ubuntu to set that environment explicitly; the
> defaults should be good for most people.
> Chris Halse Rogers
Well, It's right that I can set a default dir for my app but what is the
use of this spec if it's just for letting developers implement the
default. IMHO, since Ubuntu has chosen to start implementing this spec,
it should implement it all. BTW what you said is true, developers should
also implement the default (after checking the Env Var) to not fail on
not compliant systems.
Anyway, I don't find it wise to announce that we implemented XDG when
it's just a part of it that has been implemented.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
More information about the Ubuntu-devel-discuss