Bug#683744: gnome-terminal: text is invisible when "Use colors from system theme" is ticked

Simon McVittie smcv at debian.org
Wed Jul 30 09:40:05 UTC 2014


tags 683744 + patch
thanks

On Thu, 05 Dec 2013 at 12:42:25 +0000, Simon McVittie wrote:
> On 05/12/13 00:13, Vincent Lefevre wrote:
> > In Profile → Colors, when "Use colors from system theme" is ticked,
> > the main text is invisible (black on black?).

Workaround 1: turn off "Use colors from system theme".

Workaround 2: set a non-awful Gtk theme (Gtk 3.12's default is "Raleigh"
which is very minimal and rather ugly) by installing gnome-themes-standard
and putting this in $XDG_CONFIG_HOME/gtk-3.0/settings.ini, which is usually
~/.config/gtk-3.0/settings.ini:

[Settings]
gtk-theme-name = Adwaita

(You might also notice that every other Gtk application looks a lot better
as a result.)

In Gtk 3.14, Adwaita has moved from gnome-themes-standard into Gtk
and is the default theme on all platforms.

> I suspect that the bug is that when some part of GNOME (possibly
> gnome-settings-daemon?) is not running, gnome-terminal fails to
> find the "system" theme colours, and instead of falling back to
> some sensible hard-coded default (black-on-white or white-on-black),
> it falls back to black-on-black.

The bug is actually that when gnome-terminal asks the theme engine
"what colours should I use to draw a TerminalScreen widget?",
the answer given by the Raleigh theme is "black on black",
which is not helpful. The attached patch falls back to
black-on-white (matching Adwaita) if that happens.

    S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-allow-the-theme-to-set-black-on-black.patch
Type: text/x-diff
Size: 1667 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20140730/4ff9f5ad/attachment.patch>


More information about the pkg-gnome-maintainers mailing list