Gnome Terminal save/restore profiles

Hi.
I’m using OpenSuSE 13.2. I want to make a backup of customized profiles which I’ve created in gnome-terminal and restore them on another computer.
I don’t know which files created by gnome-terminal on filesystem as profiles to copy them on another computer?

Please guide me.
Tnx

On Thu 15 Jan 2015 12:06:20 PM CST, zeusys wrote:

Hi.
I’m using OpenSuSE 13.2. I want to make a backup of customized profiles
which I’ve created in gnome-terminal and restore them on another
computer.
I don’t know which files created by gnome-terminal on filesystem as
profiles to copy them on another computer?

Please guide me.
Tnx

Hi
This is all handled via gsettings (or dconf-editor), schemas, keys can
be configured via get and set.

The profiles are down in org.gnome.Terminal.[press tab for auto] which
you would need to script out get(ting) the keys and then using a script
to set the keys on the other system(s).

I would imaging that there is some schema override that can be used as
well.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Would you please give some example or link to study more about how to use gsettings command?

Thanks you

Hi
If you run the command;


gsettings list-schemas

This is a big long list, then in each of the schemas are keys (some_key) which you can then get and set;


gsettings list-keys <some_schema> (from the list-schemas)
some_key_a
some_key_b
....

gsettings get <some_schema> <some_key_a>

gsettings list-keys org.gnome.Terminal.ProfilesList
default
list

gsettings get org.gnome.Terminal.ProfilesList list
'b1dcc9dd-5262-4d8d-a863-c897e6d979b9']

Else install/use dconf-editor for a GUI.

More info here: Gio – 2.0