Easy way to export / import gnome-terminal profile?

Help. Obviously I can copy / paste bashrc. My question is more along the lines of how do I export my custom color scheme in gnome-terminal, and import it to another system? Current versions of gnome-terminal appear to do this differently than any other terminal emulator.
Not a serious problem. But a significant annoyance.
Thanks for any tips.


Here is an example illustrating the colors and transparency.

It doesn’t seem to be an easy way.

However, given that the profile is saved in the dconf database under the path /org/gnome/terminal/legacy/profiles:/, once you identify your profile (e.g. using dconf-editor, you can use the dconf dump and dconf load commands, respectively, to export/import the profile of choice.

1 Like

Hello Mike,
I have attempted this dump & load method and the results were ineffective. Creating dumps from both systems produce slightly different files. They mostly differ in the header syntax.
I have not yet attempted to edit the file manually to fix the header; but that will be my next experiment.

1 Like

I don’t think there should be any headers as such in the dumps, but rather key-value combinations. The dump file should contain the profile settings which were altered from the default ones. It should look something like this:

[/]
cursor-blink-mode='off'
cursor-shape='ibeam'
default-size-rows=30

The dump command would be something like: dconf dump /org/gnome/terminal/legacy/profiles:/:your-identified-profile-code/ > Downloads/myTerminalProfile.dump.

2 Likes

Take in consideration that F41 comes with a new terminal by default. I wold check if you get along with it. Pobably a config file would make it easier to keep it automated if you want backup and restore it.

ps.
Ptyxis is the strange name of it :slight_smile:

2 Likes

Exactly.

I didn’t mention about ptyxis to the OP, given that it also follows the same GNOME guidelines as gnome-terminal and stores its configuration in the dconf database (path /org/gnome/Ptyxis/). So the same dump/load subcommands will need to be used with ptyxis too.

2 Likes

I saw at least it is planed to integrate an import option:

Also to debug, to see error messages.

1 Like

I am exploring this ‘Pytxis’ now in the beta. I don’t get picky about which terminal. I just like the colors to be easy to read, and highlight clearly.
These two apps are very different in their customization pathways.
more will be revealed.

This is good information. I will test it out, thanks!

1 Like

I just ran a test of this in a live USB 41beta environment. The slightly transparent deep purple background became an opaque chocolatey brown. Not sure what is going on with that. No more time to play with it RN.
Maybe I will need to install it before this dump/load works. Maybe I need to learn to put all of my preferences in bash.rc.