Results 1 to 4 of 4

Thread: Gnome Terminal save/restore profiles

  1. #1

    Question 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

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,840
    Blog Entries
    15

    Default Re: Gnome Terminal save/restore profiles

    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!


  3. #3

    Default Re: Gnome Terminal save/restore profiles

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

    Thanks you

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,840
    Blog Entries
    15

    Default Re: Gnome Terminal save/restore profiles

    Quote Originally Posted by zeusys View Post
    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;
    Code:
    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;
    Code:
    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: https://developer.gnome.org/gio/stab...ings-tool.html
    Last edited by malcolmlewis; 22-Nov-2015 at 08:42.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •