Can you show us the permissions of your config folders (~/.config/codeblocks)?
To do so fun the command:
find ~/.config/codeblocks -ls
This is very common problem and I want to know what people do to mess it up.
Please don't fix permissions before showing the listing.
Thanks.