13

According to this page, Gnome Terminal supports 24bit true color. This is consistent with Wikipedia.

When I run color-spaces.pl in Ubuntu 14.04 LTS with Gnome Terminal 3.6.2, the result is the following:

enter image description here

While there is no reference image, I imagine that those green strangely-shaped objects at the bottom indicate that the terminal is unable to print 24bit colors correctly.

How to enable 24bit support?

  • If you want a reference image, run in xterm. – muru Oct 6 '14 at 18:19
14

24bit support is enabled by default but gnome-terminal has to be in version linked against libvte >= 0.36 (as stated on the page you mentioned). Which unfortunetly is not the case in the latest ubuntu 14.04 (at the time of writing).

As a workaround you may try:

sudo add-apt-repository ppa:gnome3-team/gnome3-staging
sudo apt-get update
sudo apt-get install gnome-terminal
sudo add-apt-repository -r ppa:gnome3-team/gnome3-staging

Last step removes their ppa - it's optional but be carefull, there is whole gnome3 at that ppa.

Oh and the screen:

  • 1
    Is there a way to check which version of libvte gnome-terminal was originally linked against? I'm using Ubuntu 15.04 and plan on upgrading to 15.10 and I believe that both use versions of libvte > 0.36. However, I'm still not getting truecolor support in my terminal. – Adam Beck Oct 22 '15 at 15:00
  • I just noticed that gnome terminal itself is not linked against libvte: ldd /usr/bin/gnome-terminal.real | grep libvte on my Ubuntu 15.04. So I guess this is important: ldd /usr/lib/gnome-terminal/gnome-terminal-server | grep libvte and dpkg -l | grep libvte. – suside Oct 24 '15 at 7:58
  • I would have guessed after 2 years it should be in now, but well :( – phunehehe Oct 8 '16 at 9:44
  • I am sorry after doing this process, my terminal now shows wired characters after each space. How do i reverse the entire process? Thanks – Eskinder Aug 9 '17 at 18:04
  • @Eskinder sudo apt install ppa-purge, sudo ppa-purge gnome3-team/gnome3-staging, sudo add-apt-repository -r ppa:gnome3-team/gnome3-staging – Noah_S Nov 17 '17 at 23:48

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.