11

It seems that loading the Gnome Terminal theme files is not working anymore in Ubuntu 15.04:

gconftool-2 --load terminal-flat-theme.xml

This does not change my current theme.

The theme file looks like this.

How can I load this XML file as theme?

  • Have you tried using the Gnome Tweak Tool GUI to configure this? – user364819 Sep 1 '15 at 19:49
  • @ParanoidPanda I'm not sure how would that work. This is a terminal theme not a Gtk theme. – Ionică Bizău Sep 2 '15 at 4:35
  • What version of Ubuntu are you using? – user364819 Sep 2 '15 at 9:43
  • @ParanoidPanda 15.04–it may be related to some recent changes, because this did work in the past. – Ionică Bizău Sep 2 '15 at 9:51
  • As you can see with dconf-editor, it has changed everything. – A.B. Sep 9 '15 at 9:30
6
+50

I had the same problem in the past. I overcame it, by generating a file that is readable by the new version (3.14.2). To do this, you can visit a site called terminal.sexy, upload your theme there, and convert it to a gnome-terminal compatible shell script. It worked for me, because I had been using the tomorrow theme by base16.

The one line install method :

run the command wget -O - http://git.io/vZijG | bash and skip to step 5.

Steps to install the theme manually:

  1. save the context of the file in a shell file (for example, theme.sh).
  2. then run the script by running the command sh filename.shor if you make the script executable by running chmod +x filename.sh, then you can simply run the script by running the command ./filename.sh.
  3. Next, you can go to terminal -> change profile.
  4. You will see a list of profiles there, where, if you run the script I have given above, will be called terminal.flat.theme.
  5. Next, you can go to terminal -> preferences -> profiles, and select Profile used when launching the terminal as the new profile we just created (in this case, it will be named terminal.flat.theme.
  6. Restart, and Voila, your new theme will appear.

The content of the theme file can be found here.

  • How to do this? Could you add please some screenshots or step-by-step instructions? Sounds good. – Ionică Bizău Sep 10 '15 at 5:34
  • I can generate a script for your colors, but I am afraid I am not very proficient with including other settings and shortcuts in it. Also, I will add a few screenshots, to improve the overall quality of the answer. – Anmol Jagetia Sep 11 '15 at 10:07
  • Sure, if you generate a script that could be also nice. I'm happy to award you the bounty, but I need the solution. I exported the theme and run the script they gave me but still it doesn't change anything in my Gnome Terminal (and I did select Gnome Terminal in the export dialogs). – Ionică Bizău Sep 11 '15 at 10:15
  • The site is designed with xterm and mac in mind, but there is a workaround for making it work on Gnome-Terminal. I will modify the answer to include all the steps. – Anmol Jagetia Sep 13 '15 at 16:43
  • 1
    Man, you're great! :) – Ionică Bizău Sep 13 '15 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.