Just to elaborate this. This means saving configuration files in "$XDG_CONFIG_HOME/codeblocks"...
Adhere the freedesktop "XDG Base Directory Specification" on Linux