<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Apr 20, 2008, at 4:34 PM, Hal V. Engel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Of course this is not how things are done in *nix systems.<span class="Apple-converted-space"> </span>This type of<span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">configuration file should live in /etc and/or ~/.color/icc (? is this correct<span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">for a user config file?) like all other configuration files. <span class="Apple-converted-space"> </span></font></p> </blockquote></div><br><div>I believe that ~/.color/icc is deprecated. The XDG Base Directory Specification is what GLib/GTK+ uses (and others too, IIRC).</div><div><br></div><div>The latest spec is at <a href="http://standards.freedesktop.org/basedir-spec/latest/">http://standards.freedesktop.org/basedir-spec/latest/</a></div><div><br></div><div>If the XDG_CONFIG_HOME is not set, then things should default to be under ~/.config/...</div><div><br></div><div>*However* I would warn about using user config for this. A given user might easily be logged into one home dir from different X11 sessions/configurations. (I do this sometimes myself).</div><div><br></div><div><br></div><div>/etc/X11/... *might* be appropriate. The settings are on a per-X11 session basis after all.</div><div><br></div><div>/etc/xdg is a fallback for the system config dirs according to that spec. However, individual distros are free to have it set to something else.</div></body></html>