Christopher James Halse Rogers a écrit : > On Sat, 2007-07-14 at 02:51 +0200, Ouattara Oumar Aziz (alias wattazoum) > wrote: >> Hello, >> >> 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 : >> http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html >> >> 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. Best regards wattazoum
signature.asc
Description: OpenPGP digital signature
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss