Page 1 of 1

Missing the CPU usage icon in JWM Tray [Solved]

Posted: Fri 08 Apr 2011, 20:02
by mickee
I know I can use a PWidget, but I prefer the compact CPU graph in the tray. It used to be there... and shows when I use Open Box, but not with JWM. There is a blank spot where it normally resides, beside the clock.

Was wondering also, what is "blinky", JUST the network icon in the tray? Or is blinky running the tray? I have searched, but cannot seem to find a solution. Or even what caused it to disappear in the first place.

**Lovin' Puppy!***

Posted: Fri 08 Apr 2011, 23:27
by disciple
It used to be there... and shows when I use Open Box, but not with JWM.
They are two different things.
Openbox has its own graph showing CPU usage i.e. 0% to 100%.
Puppy's tray is normally configured to swallow xload, which is a separate program that shows CPU load, i.e. number of threads, from 0 to infinity.
There is also now a CPU usage trayapp which will work with JWM or pretty much any other window manager, if you want one. But I doubt that it is included by default in a standard Puppy.
what is "blinky", JUST the network icon in the tray?
Yes.
There is a blank spot where it normally resides, beside the clock.
Hmmm. Does xload run OK if you start it from a terminal?

Posted: Sat 09 Apr 2011, 01:31
by mickee
disciple wrote:
There is also now a CPU usage trayapp which will work with JWM or pretty much any other window manager, if you want one. But I doubt that it is included by default in a standard Puppy.

I would like to try this.


There is a blank spot where it normally resides, beside the clock.
Hmmm. Does xload run OK if you start it from a terminal?

What I have now is a small white box with a small black line (about a pixel high, slowly moving left to right) with 'pupp' showing?

Posted: Sat 09 Apr 2011, 02:01
by disciple
OK, that sounds like xload is working. So the problem is with swallowing it into the JWM tray.
I presume you've tried restarting X or puppy? I think sometimes when you just restart JWM it doesn't quite swallow programs correctly.

Do you get any messages if you run `jwm -p` in a terminal?

Can you look in /root/.jwmrc-tray and post the section that looks something like this?:

Code: Select all

		<Swallow name="xload" width="32">
			xload -nolabel -update 1 -bg "#BCBAB5" -fg red -hl white
		</Swallow>

Posted: Sat 09 Apr 2011, 06:08
by mickee
disciple wrote:OK, that sounds like xload is working. So the problem is with swallowing it into the JWM tray.
I presume you've tried restarting X or puppy? I think sometimes when you just restart JWM it doesn't quite swallow programs correctly.

Do you get any messages if you run `jwm -p` in a terminal?

Can you look in /root/.jwmrc-tray and post the section that looks something like this?:

Code: Select all

		<Swallow name="xload" width="32">
			xload -nolabel -update 1 -bg "#BCBAB5" -fg red -hl white
		</Swallow>
so I added this part: xload -nolabel -update 1 -bg "#BCBAB5" -fg red -hl white

and it works! Thanks disciple :D