Re: [Gimp-developer] XDG support and better Windows configuration path
- From: Graeme Gill <graeme2 argyllcms com>
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] XDG support and better Windows configuration path
- Date: Thu, 11 Oct 2012 18:19:26 +1100
Michael Natterer wrote:
> which means for master:
>
> OSX: ~/Library/Application Support/GIMP/2.9
> WIN: (whatever windows folder i have no clue about)\GIMP\2.9
> XDG: ~/.config/GIMP/2.9
Having looked into this, I'm not sure that's correct.
I think it should be:
OSX: ~/Library/Preferences/GIMP/2.9
WIN: %APPDATA%\GIMP\2.9
XDG: ~/.config/GIMP/2.9
$XDG_DATA_HOME best corresponds to "Application Support", while
$XDG_CONF_HOME best corresponds to "Preferences".
Full list of cross platform mappings (as best I can figure):
The following paths are used for each of the 5 XDG concepts, listed in order
of priority:
Per user application related data.
Per user application configuration settings.
Per user application cache storage area.
Local system wide application related data.
Local system wide application configuration settings.
Unix:
$XDG_DATA_HOME
$HOME/.local/share
$XDG_CONF_HOME
$HOME/.config
$XDG_CACHE_HOME
$HOME/.cache
$XDG_DATA_DIRS
/usr/local/share:/usr/share
$XDG_CONF_DIRS
/etc/xdg
OS X:
$XDG_DATA_HOME
$HOME/Library/Application Support
$XDG_CONF_HOME
$HOME/Library/Preferences
$XDG_CACHE_HOME
$HOME/Library/Caches
$XDG_DATA_DIRS
/Library/Application Support
$XDG_CONF_DIRS
/Library/Preferences
MSWin:
$XDG_DATA_HOME
$APPDATA
$HOME/.local/share
$XDG_CONF_HOME
$APPDATA
$HOME/.config
$XDG_CACHE_HOME
$APPDATA/Cache
$HOME/.cache
$XDG_DATA_DIRS
$ALLUSERSPROFILE
$XDG_CONF_DIRS
$ALLUSERSPROFILE
Graeme Gill.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]