#88 xdg-config location for config files

open
nobody
None
5
2008-08-03
2008-08-03
Anonymous
No

please consider following the freedesktop specification for where config files should be stored to give greater consistency and usability for linux users (for example in backing up config files)

http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html

basically this means storing config files at the shell variable $XDG_CONFIG_HOME, or ~/.config by defualt

to at least do the default thing: you should change the line
path = os.path.expanduser("~/." + appname)
in the file Resource.py to
path = os.path.expanduser("~/.config/" + appname)

of course ideally use (i think) os.environ["XDG_CONFIG_HOME"], but i dont know enough about python to do this

Discussion