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)
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20070714/5148c381/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list