Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: CPU Monitor colour?, any way of changing?< Next Oldest | Next Newest >
RoGuE_StreaK Offline





Group: Members
Posts: 418
Joined: Jan. 2004
Posted: Mar. 11 2005,13:46 QUOTE

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...


--------------
"I find your lack of penguin disturbing"
                                      - Darth Tux
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 11 2005,18:01 QUOTE

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
Back to top
Profile PM 
RoGuE_StreaK Offline





Group: Members
Posts: 418
Joined: Jan. 2004
Posted: Mar. 12 2005,03:46 QUOTE

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.


--------------
"I find your lack of penguin disturbing"
                                      - Darth Tux
Back to top
Profile PM WEB 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: Mar. 16 2005,05:37 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 16 2005,10:28 QUOTE

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 "&".


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
4 replies since Mar. 11 2005,13:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: CPU Monitor colour?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code