User forums > Help
[SOLVED] [Mint 18.2] Codeblocks doesn't save anything
cruptdoc:
Hello :)
I use codeblocks for a year now, on windows, macos and linux. No problem for mac os and windows versions.
I'm currently facing to an issue on codeblocks for linux mint, the workspace doesn't want to save (the syntax highlighting, the perspective etc.).
I tried uninstall / reinstall from ppa, always the same problem.
After few searchs on internet, i've also tried "Environment Settings -> General settings -> "Open default workspace", and every time I launch codeblocks, this settings is on "open blank workspace".
It seems like codeblocks doesn't want to change the application start-up settings.
I also did "view -> perspectives -> save current" and "file -> save workspace".
Can you help me to resolve this issue?
Thanks!
stahta01:
The cause is normally a permission issue on the file or folder that contains the settings; but, I am not sure where it is located.
On, windows the file is called "default.conf".
Edit: Add link to past post http://forums.codeblocks.org/index.php/topic,21613.msg147111.html#msg147111
Tim S.
cruptdoc:
Hello Stahta01,
You were right, my issue was because of a change in the permissions.
Here's the fix for people that could meet the same issue:
1. Open terminal with ctrl + alt + T
2. Go to ~/.config/codeblocks with cd
3. Verify that you have the default.conf file in this folder with ls command
4. Change permissions to the current user with this command: sudo chown $USER default.conf
$USER is to give the permission to the user that is currently using the system, if you want to give permission to another user, just replace $USER by his nickname.
Now everything works, welcome back to codeblocks, thanks a lot! :D
oBFusCATed:
The question is why the permissions are wrong in the first place.
Many people have hit this problem and we have no idea what is causing it.
@cruptdoc: Have you run an old version of cb (13.12)?
osdt:
--- Quote from: oBFusCATed on December 08, 2017, 08:20:38 pm ---The question is why the permissions are wrong in the first place.
--- End quote ---
Most likely because of running 'sudo codeblocks'. Some distributions (like Ubuntu) preserve $HOME so it still points to the users home directory.
Navigation
[0] Message Index
[#] Next page
Go to full version