Re: A theme

Walt Tuvell <[email protected]> Mon, 5 Mar 2018 09:22:26 -0500
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------E08B945D58DFAA88B4F5D5BD
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Cool, Peter.

The themeability of GKrellM is very nice (esp. since it's
performance-neutral), but I agree it's a problem that the documentation
(http://gkrellm.srcbox.net/Themes.html) is so sparse. While I'm a
programmer myself, I didn't want to bother reading source-code for this
mini-project (theming GKrellM to match my desktop preferences), so I had
to experiment too (just like you're doing, it seems).

The various yellow things ("krells," often flickering) are defined as
raster bit images, in files named krell_*.png, under
.../.gkrellm2/themes/Heliotrope/. GIMP is the tool of choice for editing
these. In particular, if you change their yellow color to "transparent,"
it should do what you want. But if it's only the frenetic flickering
that's bothering you, you can change that in the regular GUI settings
(Configuration ➜ General ➜ Options ➜ Krell and LED updates per second);
I use 3-per-second. For other super-fine-tuning, look into the gkrellmrc
file.

Hope this helps. Cheers!

--- Walt

PS. I don't know if you noticed, I did make a couple of off-by-one pixel
fixes, which are now uploaded at https://www.opendesktop.org/p/1216659/.




On 03/04/2018 11:43 AM, Peter Humphrey wrote:
> On Friday, 23 February 2018 21:16:41 GMT you wrote:
>> Hi. I'm a newbie here (so be gentle …).
>>
>> I'm a long-time GKrellM user (on Linux), but I've never been truly
>> enthusiastic with the available themes/skins (not a knock, just personal
>> preference). So this week I finally decided to write my own theme. It's
>> called "Heliotrope," attached. It includes a screenshot (Heliotrope.png)
>> and a design doc (Heliotrope.txt, which explains the name "Heliotrope").
>>
>> Be aware that I've merely tweaked this theme for my own personal use
>> (touching/testing only the GKrellM feature I use/need, including the
>> sizes of graphs/meters/panels/etc.). So there are certainly some things
>> lacking that more powerful users would need/want. So: whoever is the
>> "official" theme wrangler (if such even exists at this point), please
>> feel free to incorporate missing stuff into this, if that looks like a
>> worthwhile endeavor to you.
> Hi Walt,
>
> I like your theme, and I'd like to use it, after making two changes. Well, 
> actually I've made one of them: restoring the in and out chart colours and 
> adding a nice colour for the CPU. I'm stuck, though, in trying to remove the 
> panels altogether; I think 'panel' is the right name for it - it's the 
> flickering yellow line below the CPU, disk and net charts. I find three of 
> them around the screen distracting (two remote boxes as well as this one).
>
> How should I remove these sections from display? I've tried setting height 
> to zero and a few other things but not found the proper incantation.
>
> Thanks for publishing your theme.
>


--------------E08B945D58DFAA88B4F5D5BD
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Cool, Peter.<br>
    <br>
    The themeability of GKrellM is very nice (esp. since it's
    performance-neutral), but I agree it's a problem that the
    documentation (<a class="moz-txt-link-freetext" href="http://gkrellm.srcbox.net/Themes.html">http://gkrellm.srcbox.net/Themes.html</a>) is so sparse.
    While I'm a programmer myself, I didn't want to bother reading
    source-code for this mini-project (theming GKrellM to match my
    desktop preferences), so I had to experiment too (just like you're
    doing, it seems).<br>
    <br>
    The various yellow things ("krells," often flickering) are defined
    as raster bit images, in files named krell_*.png, under
    .../.gkrellm2/themes/Heliotrope/. GIMP is the tool of choice for
    editing these. In particular, if you change their yellow color to
    "transparent," it should do what you want. But if it's only the
    frenetic flickering that's bothering you, you can change that in the
    regular GUI settings (Configuration ➜ General ➜ Options ➜ Krell and
    LED updates per second); I use 3-per-second. For other
    super-fine-tuning, look into the gkrellmrc file.<br>
    <br>
    Hope this helps. Cheers!<br>
    <br>
    --- Walt<br>
    <br>
    PS. I don't know if you noticed, I did make a couple of off-by-one
    pixel fixes, which are now uploaded at
    <a class="moz-txt-link-freetext" href="https://www.opendesktop.org/p/1216659/">https://www.opendesktop.org/p/1216659/</a>.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 03/04/2018 11:43 AM, Peter Humphrey
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:16895122.HCOdafTF2f@peak">
      <pre wrap="">On Friday, 23 February 2018 21:16:41 GMT you wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi. I'm a newbie here (so be gentle …).

I'm a long-time GKrellM user (on Linux), but I've never been truly
enthusiastic with the available themes/skins (not a knock, just personal
preference). So this week I finally decided to write my own theme. It's
called "Heliotrope," attached. It includes a screenshot (Heliotrope.png)
and a design doc (Heliotrope.txt, which explains the name "Heliotrope").

Be aware that I've merely tweaked this theme for my own personal use
(touching/testing only the GKrellM feature I use/need, including the
sizes of graphs/meters/panels/etc.). So there are certainly some things
lacking that more powerful users would need/want. So: whoever is the
"official" theme wrangler (if such even exists at this point), please
feel free to incorporate missing stuff into this, if that looks like a
worthwhile endeavor to you.
</pre>
      </blockquote>
      <pre wrap="">
Hi Walt,

I like your theme, and I'd like to use it, after making two changes. Well, 
actually I've made one of them: restoring the in and out chart colours and 
adding a nice colour for the CPU. I'm stuck, though, in trying to remove the 
panels altogether; I think 'panel' is the right name for it - it's the 
flickering yellow line below the CPU, disk and net charts. I find three of 
them around the screen distracting (two remote boxes as well as this one).

How should I remove these sections from display? I've tried setting height 
to zero and a few other things but not found the proper incantation.

Thanks for publishing your theme.

</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------E08B945D58DFAA88B4F5D5BD--