On one of my 2 Ubuntu computers, GEdit does not remember the "Text wrapping" setting after closing the app.
Now I try to find the reason for that difference in behavior.
Both computers are equipped with Ubuntu 17.10 and received the latest updates. One of them is German, the other one English. Remembering text wrapping does not work on the German computer, but I doubt that is the reason since the localization usually does not lead to any problems.
Where can I find the settings file where GEdit stores its settings?
[UPDATE]
As requested below, the output of ls -la
:
eval@dv:~$ ls -la ~/.config/dconf/
total 72
drwxrwxr-x 2 eval eval 4096 Apr 4 18:33 .
drwx------ 40 eval eval 4096 Feb 3 19:53 ..
-rw-r--r-- 1 eval eval 36456 Apr 4 18:33 user
-rw-rw-r-- 1 eval eval 27894 Sep 17 2016 user.1V1ONY
(btw. what is that second user file? Looks a bit strange, almost like the output of a virus. It is on one of my 2 computers.)
Gedit Preference:
Gedit stores it's preferences in:
~/.config/dconf/user
This is where many gnome applications store their settings.
Of course, the interface for this settings is in Gedit itself. That's the steps you're already using since your question made references to being remembered in one of your computers.
You can use the commandline interface to access these settings with the **gsettings` command.
There are a number of gedit wrap-modes. You can check one with this command:
The output would either be:
'word'
ornone
.Fixing problems with settings being remembered:
As far as the problem you're having with it being remembered, this is usually the result of having run a gui that made some gnome settings changes from elevated access (i.e.
sudo [gui command
] with gui command being many of the available gui desktop applications).Some of the files in your personal space has become owned by a different user than you. You can find out which files or folders in your personal space has this problem by running this:
You can fix the problem files by running a variation of this command:
That would be the resolution of a file.
When I experience the problem I resolve the issue by regaining a ownership of all the files in my personal space, since for the integrity of my system, I always use my computer as a normal user, and only use
sudo
when I want to make a systemwide change, which I wouldn't be doing in my personal space.