Author Topic: Terminal resets from gnome to xterm after opening codeblocks again  (Read 711 times)

Offline PracticalMetal

  • Single posting newcomer
  • *
  • Posts: 2
Whenever I open codeblocks and use terminal to run a code the terminal always resets to the xterm terminal even though i had set it to gnome before, I am working on latest version of Linux Mint. How do I fix this?
« Last Edit: May 02, 2021, 10:37:43 am by PracticalMetal »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13343
    • Travis build status
Re: Terminal resets from gnome to xterm after opening codeblocks again
« Reply #1 on: May 02, 2021, 07:42:43 pm »
Most probably none of the settings are being saved.
There are at least two reasons I know of:
1. The config file has incorrect permissions. See ~/.config/codeblocks/default.conf
2. CB is crashing on exit.

One thing you could try is to use the File -> Save everything command.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline PracticalMetal

  • Single posting newcomer
  • *
  • Posts: 2
Re: Terminal resets from gnome to xterm after opening codeblocks again
« Reply #2 on: May 03, 2021, 08:22:11 am »
Most probably none of the settings are being saved.
There are at least two reasons I know of:
1. The config file has incorrect permissions. See ~/.config/codeblocks/default.conf
2. CB is crashing on exit.

One thing you could try is to use the File -> Save everything command.
Thankyou, changing the permissions worked!