Package: mtr
Version: 0.72-2
Severity: normal

Using the attached .gtkrc-2.0, which is a white-on-black theme, the
MTR table is unreadable because it sets lines to black without setting
the background to a light colour.  Screenshot attached.

Bugs #445385, #446528, #444996, #448742, #444974, #471335, #471335
show similar problems in other applications and utilities.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mtr depends on:
ii  libatk1.0-0               1.20.0-1       The ATK accessibility toolkit
ii  libc6                     2.7-6          GNU C Library: Shared libraries
ii  libcairo2                 1.4.14-1       The Cairo 2D vector graphics libra
ii  libfontconfig1            2.5.0-2        generic font configuration library
ii  libglib2.0-0              2.16.1-2       The GLib library of C routines
ii  libgtk2.0-0               2.12.5-2       The GTK+ graphical user interface 
ii  libncurses5               5.6+20080203-1 Shared libraries for terminal hand
ii  libpango1.0-0             1.20.0-1       Layout and rendering of internatio
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxcursor1               1:1.1.9-1      X cursor management library
ii  libxext6                  2:1.0.4-1      X11 miscellaneous extension librar
ii  libxfixes3                1:4.0.3-2      X11 miscellaneous 'fixes' extensio
ii  libxi6                    2:1.1.3-1      X11 Input extension library
ii  libxinerama1              2:1.0.3-1      X11 Xinerama extension library
ii  libxrandr2                2:1.2.2-1      X11 RandR extension library
ii  libxrender1               1:0.9.4-1      X Rendering Extension client libra

mtr recommends no packages.

-- no debconf information

<<attachment: mtr.png>>

#### -*- conf -*-
#### http://library.gnome.org/devel/gtk/unstable/GtkSettings.html
#### Engine settings in /usr/share/gtk-engines/*.xml

gtk-cursor-theme-name = "DMZ-Black"
gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ
gtk-scrolled-window-placement = GTK_CORNER_TOP_RIGHT
gtk-enable-animations = 0
## Broken: can't close windows (steals C-w) and only implements the
## most superficial Emacs behavious anyway -- not even C-SPC!
# gtk-key-theme-name = "Emacs"
## Broken: forces the use of HC pngs for some icons.
# gtk-theme-name = "HighContrastInverse"
gtk-icon-theme-name = "HighContrast-SVG"

## Gtk-color-scheme exists so that you can customize a theme's color
## scheme without understanding the intricacies of the theme itself.
## If you set gtk-color-scheme in gnome-settings-daemon, this works.
## Just setting it and gtk-theme-name in this file DOES NOT work,
## because symbolic references are resolved at parse time -- that is,
## they only work within the file in which they occur, not in included
## files or gtk-theme-name files.
##
## What to do?  You can 1) run gnome-settings-daemon; 2) copy the
## theme you want into ~/.themes/twb and change the ONE LINE that sets
## gtk-color-scheme, then set gtk-theme-name to "twb".  I have done a
## variant of latter, copy-and-pasting a stripped-down theme in below.
gtk-color-scheme = "fg_color: white
bg_color: black
text_color: white
base_color: black
selected_fg_color: white
selected_bg_color: grey20
tooltip_fg_color: white
tooltip_bg_color: black"

## Symbolic names were introduced in 2.10, so on older hosts you'll
## see default colors and get a parse error warning on stderr.
## Similarly, if libindustrial.so isn't available, you'll get the
## default engine, Raleigh.
##
## Note that I'm using the old Industrial and High Contrast engines.
## That's because none of the other engines seem able to cope with a
## completely black background -- you end up with a fantastically
## useless amount of black-on-black borders and checkboxes.
style "twb" {
  engine "hcengine" { edge_thickness = 1 }
  engine "industrial" { contrast = 0.5 }
  base[INSENSITIVE] = @base_color
  bg[INSENSITIVE]   = @bg_color
  fg[INSENSITIVE]   = @fg_color
  text[INSENSITIVE] = @text_color
  base[NORMAL]      = @base_color
  bg[NORMAL]        = @bg_color
  fg[NORMAL]        = @fg_color
  text[NORMAL]      = @text_color
  base[ACTIVE]      = @base_color
  bg[ACTIVE]        = @bg_color
  fg[ACTIVE]        = @fg_color
  text[ACTIVE]      = @text_color
  base[SELECTED]    = @selected_bg_color
  bg[SELECTED]      = @selected_bg_color
  fg[SELECTED]      = @selected_fg_color
  text[SELECTED]    = @selected_fg_color
  base[PRELIGHT]    = @selected_bg_color
  bg[PRELIGHT]      = @selected_bg_color
  fg[PRELIGHT]      = @selected_fg_color
  text[PRELIGHT]    = @selected_fg_color

  ## These don't actually WORK in Epiphany :-/
  GtkWidget::link-color = "#3465A4"
  GtkWidget::visited-link-color = "#75507B"

  GtkEntry::cursor_color = @text_color
}
widget_class "*" style "twb"

Reply via email to