Properties file location on Linux

On Linux prefered user configuration folder would be “~/.config/” but PropertiesFile::Options::getDefaultFile() will return “~” and that will clutter the user’s home directory.
Any chance to add “~/.config/” to default but keep also “~” for backward compatibility?
Something similar as OSX “Preferences” and “Application Support”.

OK, I got some ideas on how to implement it in my app from looking into Projucer code.