I've noticed that some applications put their configuration files to ~/.config/appname
while others use ~/.appname
(the classic way, AFAIK) for this. What's the sense in this distinction and what could be better to consider for an application of mine?
UPDATE: Looks like my (XUbuntu 11.10 default) $XDG_CONFIG_HOME is set to ~/
and the most of the applications in my system (like Mozilla Firefox, Adobe Flash Player, Midnight Commander, Opera, Wine, etc.) comply to this. But there are still many applications (like Compiz, Deadbeef, VLC, Qt Creator, Google Chrome, XFCE, etc.) using ~/.config/
instead. Another suspicious thing is that directories in ~/.config/
are not themselves hidden (no dot in their names) - aren't application config dirs expected to have constant own names without depending on the location ($XDG_CONFIG_HOME value)?