[rfc][icedtea-web] fix for RH947647, following the XDG basedir specification

Rahul Sundaram metherid at gmail.com
Tue May 21 10:24:05 PDT 2013


Hi


On Tue, May 21, 2013 at 6:53 AM, Jiri Vanek <jvanek at redhat.com> wrote:

>
> Some more thoughts about this:
>  - eg I have non XDG variable set, but many applications have already
> started to use theirs default values.
>

I am not sure what you mean by this but distributions aren't supposed to
set any of XDG environment variables by default.  It is solely a deployment
customization for the odd cases out there.  Running cache in tmpfs or
config from nfs or whatever


> - If we decide to move to ./config and ./cache:
>    if used XDG* variables are set, then use them. otherwise use ./config
> and ./cache
>    if they change, user is on his own?
>

Yes.  If users customize it, they will have to deal with the fallout.


> - how about xdg not following systems (windows) ? Keep .icedtea or move to
> ./config and ./cache ?
>

Hidden directories is not how Windows programs stores its profiles.  You
might consider following what glib helper functions do

Refer to
https://developer.gnome.org/glib/2.34/glib-Miscellaneous-Utility-Functions.html

g_get_user_cache_dir() and so on

Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130521/77b76151/attachment.html 


More information about the distro-pkg-dev mailing list