15

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?

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

1 Answer 1

15

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:

5
  • 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
    Commented Oct 22, 2015 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
    Commented Oct 24, 2015 at 7:58
  • I would have guessed after 2 years it should be in now, but well :(
    – phunehehe
    Commented Oct 8, 2016 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
    Commented Aug 9, 2017 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
    Commented Nov 17, 2017 at 23:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .