Re: chart label alternate font

Jon LaBadie <[email protected]> Mon, 12 Sep 2016 18:17:31 -0400
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Mon, Sep 12, 2016 at 09:13:05AM -0500, Bill Wilson wrote:
> The colors are part of the theme so you have to edit the gkrellmrc file for the theme
> you are using.  Look for the lines:
> 
> StyleChart *.textcolor = #efd097 #000000 shadow
> StyleChart *.alt_textcolor = #00e4e2 #000000 shadow
> 
> The path to  the theme you are using can be seen in the Config->Themes page.
> But if you are using the default theme, you have to get the gkrellm source and copy
> the pixmaps directory to a new theme.  For example in the top dir of the
> gkrellm source tree:
> 
> cp -a pixmaps ~/.gkrellm2/themes/your_theme_name
> 
> Then edit ~/.gkrellm2/themes/your_theme_name/gkrellmrc
> 
> Or a new theme can be put in /usr/local/share/gkrellm2/themes/
> 
> Bill

Long ago I downloaded tons of themes and selected "trublu".  I haven't
changed it since.

I just looked and yes those lines are in the gkrellmrc file for
trublu, and they are the same color.  Maybe my memory is faulty.

While exploring, I noticed a new derivative theme, "TruBlu".  According
to the README, there is just a minor change in files other than the "rc"
file.  When I compared the two "rc" files, the TruBlu was identical
except for the addition of these 3 lines:

  #large_font = "-adobe-courier-medium-r-normal-*-*-120-*-*-m-*-iso8859-1"
  #normal_font = "-adobe-courier-medium-r-normal-*-*-100-*-*-m-*-iso8859-1"
  #small_font   = "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-iso8859-1"

I realize they are comments, but it suggests there may be a possibility
of 3 fonts or font sizes.  Is that the case?

Also, is there a way to select the alternate color separately from
the alternate font?

Jon
> 
> On Mon, 12 Sep 2016 01:03:08 -0400
> Jon LaBadie <[email protected]> wrote:
> 
> > Perhaps my memory is faulty, but I recall the "\f"
> > alternate font code used to change the color of the
> > next string.  In my current version it switches to
> > a smaller size font, but the same color.
> > 
> > I very much like the smaller font, just changed all
> > my strings to the alternate font.  But the alternate
> > color was useful also to flag which chart color was
> > read (receive) and which was write (transmit).
> > 
> > Jon
> > -- 
> > Jon H. LaBadie                 [email protected]
> >  11226 South Shore Rd.          (703) 787-0688 (H)
> >  Reston, VA  20190              (703) 935-6720 (C)
> > 
> 
> 
> -- 
> Bill Wilson <[email protected]>
>>> End of included message <<<

-- 
Jon H. LaBadie                 [email protected]
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)