Where are the profiles for gnome-terminal stored on the filesystem?
I recently restored my home folder from backup on a new ubuntu installation, but the profiles for gnome-terminal were not restored. I've still got access to the root of the filesystem from my previous ubuntu installation, and would like to pull the profiles out of that from wherever they are stored?
This is similar to Where are Gnome-Terminal profiles stored in the filesystem?
However the solution to that specifies using gconf-editor, which I've tried but which only allows me to modify the current setup.
I've determined that my desired profiles live in
/.gconf/apps/gnome-terminal/
However the version of gnome-settings that I'm running (3.32.1) uses
dconf
rather thangconf
to store the settings (dconf inconveniently stores to disk in a binary file @~/.config/dconf/user
gnome-settings is supposed to migrate over automatically if there's nothing in the new settings (according to @egmont at Seriously, dconf, gconf, gsettings... How do I save my terminal settings?)
So first step is to backup dconf:
cp ~/.config/dconf/user ~/.config/dconf/user.backup-
date +%Y-%m-%d``Then verify that
/org/terminal/legacy/profiles/
doesn't actually contain anything, usingdconf-editor
(might need an install)Then we can reset with:
dconf reset -f /org/gnome/terminal/legacy/
Will see if that fixes it for me...
... nope, I had to manually inspect the old .gconf xml files to copy over each field of the profile.
1 - To get started, press Ctrl + Alt + F1 from your desktop.
2 - Then login with your username and password
next time dont backup before trying to reset