CPU Monitor colour?


Forum: Apps
Topic: CPU Monitor colour?
started by: RoGuE_StreaK

Posted by RoGuE_StreaK on Mar. 11 2005,13:46
Hadn't thought of it before, but is there a way to change the "highlighted" colour of the CPU monitor?  When I'm on my laptop and keeping an eye on CPU usage, I click it to bring up the green highlight, which to me does make it a bit more noticeable/readable.  But was wondering if there's a way to change the green to say a cool blue colour, purely as an asthetics thing?  (Give it a slightly more "techie cool" look...)  Not that the green looks bad...
Actually, what would be cool would be if it changed colour depending on CPU useage - ie., over 90% it would change to red...  But that's obviously something to bring up with the developer, not here...

Posted by cbagger01 on Mar. 11 2005,18:01
I checked the man page and there is an option for leaving the "backlight" on and also for changing the color.

See here:

< http://olympus.het.brown.edu/cgi-bin....ad.1.gz >

Posted by RoGuE_StreaK on Mar. 12 2005,03:46
Thanks, for those who are interested and can't be bothered checking the man, the colour command is
--light-color <color>
where colour default is rgb:6E/C6/3B (not sure how this is entered, will try a few things next time I boot DSL)

I'm thinking maybe around #21D3FF (rgb:21/D3/FF) might be a techni-cool colour range...  Maybe.  Will experiment.

PS.  Looks like there IS some sort of alarm system, if you use the command "-a" it will turn the backlight on when 90% CPU usage is reached.  Or you can set an alarm point by using "--alarm <percentage>", eg. "--alarm 90", "--alarm 97", etc.  But if you have the backlight already on, I'd say nothing will happen.

Posted by chaostic on Mar. 16 2005,05:37
Is there a way to set it as default? I mean the highlight color without starting another instance of the Cpu monitor. Where is the original start command loaded from? I know another of the wmapps have been customized, as the colors for the memory monitor are not the default. I'm trying on setting the memory monitor to display used memory space percentage, not free, which is a bit weird. I am planing on remastering.
Posted by mikshaw on Mar. 16 2005,10:28
It's started from /usr/bin/enhance.  Editing this file requires copying it into ramdisk:
If your /usr/bin directory is writeable (i.e. is /ramdisk/usr/bin rather than a symlink to /KNOPPIX/usr/bin), delete the symlink /usr/bin/enhance and copy /KNOPPIX/usr/bin/enhance into /ramdisk/usr/bin.
If /usr/bin is not writeable, copy /KNOPPIX/usr/bin/enhance somewhere else, such as /opt, and change the "enhance" command in /home/dsl/.xinitrc to reflect the change (such as "/opt/enhance").

Another option is to remove "enhance" from .xinitrc and replace it with your own command(s), each ending with "&".

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.