Can't find .codeblocks in home directory

default.conf should be in .codeblocks which is a hidden directory in home directory. But I can't find either default.conf or .codeblocks on my PC. I'm using Ubuntu 18.04.

1

3 Answers

In Ubuntu most of a user's configuration files can be found inside ~/.config.

The configuration file for Code::Blocks, default.conf is in ~/.config/codeblocks (i.e., /home/$USER/.config/codeblocks).

Run:

locate codeblocks | grep .conf$

The output should be:

~/.config/codeblocks/default.conf

This means that default.conf is at:

$HOME/.config/codeblocks/default.conf

After you finish building and running your first project and select File -> Quit to quit Code::Blocks, Code::Blocks will ask you if you want to save the changes to the Code::Blocks default perspective.

IMG:

If you click the Yes button, Code::Blocks will create a new default.conf file in ~/.config/codeblocks/. It will also create a few additional new files in ~/.config/codeblocks/.

  default.conf
  xx_XX_personaldictionary.dic
  codesnippets.ini
  DragScroll.ini

After Code::Blocks has created the Code::Blocks default perspective for the first time, it will not prompt you to create it again.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like