User forums > Using Code::Blocks

How to preserve my settings on Ubuntu?

(1/2) > >>

const451:
Hello,

I am using some custom editor settings such as colors, and custom shortcuts, what is the file that codeblocks keeps those settings in?

I'd like to save that file so I can easily restore those settings next time I reinstall Ubuntu.

THX!

MortenMacFly:

--- Quote from: const451 on May 30, 2011, 03:34:42 am ---I'd like to save that file so I can easily restore those settings next time I reinstall Ubuntu.

--- End quote ---
Watch out for a file named default.conf, usually located in your HOME directory in the sub-folder .codeblocks.

Notice you can use cb_share_config tool to save / transfer some settings (not all).

const451:
Thank you for the reply.

In the folder I found cbKeyBinder10.ini which was correctly last modified today, it contains my shortcuts.

Unfortunately, default.conf was modified on May 15, that's when I installed codeblocks. I am afraid it does not contain my color settings.

I did search on all files that were modified on 2011-05-30 but I got 10K+ files, I do not think I can find the right one among them.

Is there any other config file that codeblocks uses to save color settings? I made the changes directly to default scheme.

Thanks again!

MortenMacFly:

--- Quote from: const451 on May 30, 2011, 04:14:39 pm ---Is there any other config file that codeblocks uses to save color settings? I made the changes directly to default scheme.

--- End quote ---
No. However, if you installed a portable version it might also be in the application folder. Hence it will always be called "default.conf" which you can search for.

const451:
That was correct default.config. The file was updated only after I closed codeblocks. Weird. I would expect the changes to be populated as soon as I click Ok on config editor dialog box.

Anyways, thank you for your help!

Navigation

[0] Message Index

[#] Next page

Go to full version