Code::Blocks Forums

User forums => Help => Topic started by: Mikelle02 on December 28, 2017, 01:53:08 am

Title: Code::Blocks won't save compiler's settings.
Post by: Mikelle02 on December 28, 2017, 01:53:08 am
OS:
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.3 LTS
Release:   16.04
Codename:   xenial

Code::Blocks version: 13.12

So,
I recently installed Code::Blocks and MinGw32 on my computer. I setted up everything, started a new project, compiled and tested. Everything seemed to work well since I restarted the program. I noticed that all the compiler settings that i changed didn't saved.
I looked for a default file on the /usr/bin/ folder but I didn't find it. Can anybody help me?
Title: Re: Code::Blocks won't save compiler's settings.
Post by: oBFusCATed on December 28, 2017, 02:30:06 am
Yes, the default.conf file in ~/.config/codeblocks folder doesn't have correct permissions (it is read only). Fix the permissions and the settings will be preserved.

If you can tell us how you've managed to mess the permissions in this folder we might be able to prevent this problem in the future.

p.s. why aren't you using 16.01?

Title: Re: Code::Blocks won't save compiler's settings.
Post by: Jenna on December 28, 2017, 10:34:31 am
Just for the record: in 13.12 (really, really old) the default.conf might still be in .codeblocks below your home-folder, not in .config/codeblocks.