Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
conky question
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Sun Dec 18, 2005 4:35 am    Post subject: conky question Reply with quote

I cant for the life of me find in the documentation how to turn certain conky monitors off. All I want is the top output, filesystem monitor, ram and swap monitors.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Dec 18, 2005 5:03 am    Post subject: Reply with quote

Have a look at http://conky.sourceforge.net/screenshots.html there are several examples there.
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Sun Dec 18, 2005 5:55 am    Post subject: Reply with quote

thank you. Two more -- I dont see any examples for multiprocessor machines. Is there any way to adjust a transparent conky "brightness" (eterm option) so that there is a little contrast? Makes it easier to see where letters in the conky are similar in color to the background...
Back to top
View user's profile Send private message
5a\/ag3
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 175
Location: Spruce Grove Alberta, Canada

PostPosted: Sun Dec 18, 2005 3:59 pm    Post subject: conky Reply with quote

For Multi processor machines what I have found is that there is one bar. However with my box (Dual Intel Xeon) I have four threads the bar if One proc is being used it will say that it is at 25% usage and so on. I too would like to see conky display the processor usage like what gkrellm does.
_________________
Yeah... I got nothin for this field!
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Sun Dec 18, 2005 6:47 pm    Post subject: Reply with quote

I KNEW that a thread called "Conky question" would include the question of the transparency ;-)


Unfortunately, this transparency thingy isn't integrated in Conky (yet?), but there is a workaround: You have to draw something on the wallpaper, so that it looks like Conky had transparency implemented. :?


My shell script that automates this (needs ImageMagick):

Code:

#!/bin/sh

if [ ! -z "$2" ]
then
        echo "New wallpaper: $1"
        echo "New wallpaper archived to: $2"
else
        echo "Usage: `basename $0` new_wallpaper.jpg new_wallpaper_archive.jpg"
        exit 1
fi

# --------------------------------------------------
# Notice that you probably have to adjust the numbers to the rectangle option!!
# --------------------------------------------------

convert -fill 'rgba(0,0,0,30000)' -draw 'rectangle 690,12 1012,480' $1 wallpaper.jpg
mv $1 $2


When you want to make an image called "super_wallpaper.jpg" to be your new wallpaper, you have to enter something like:

./set_wallpaper.sh super_wallpaper.jpg old_bgs/that_was_super_wallpaper.jpg

This will save the prepared image to wallpaper.jpg.

Hope this helps!
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Sun Dec 18, 2005 8:41 pm    Post subject: Reply with quote

reading thru the documentation, it does seem that there is SMP support. I have a hyperthreading processor, which provides logical processors as opposed to real. Conky does not seem to handle the hyperthreaded processors. Gkrellm can. I wonder if we need to make a feature request....
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Dec 18, 2005 8:41 pm    Post subject: Reply with quote

shrndegruv wrote:
thank you. Two more -- I dont see any examples for multiprocessor machines. Is there any way to adjust a transparent conky "brightness" (eterm option) so that there is a little contrast? Makes it easier to see where letters in the conky are similar in color to the background...


According to http://conky.sourceforge.net/docs.html, if you want to monitor the usage of individual processors refer to cpu0 for the overall system cpu usage percentage and cpu1 and greater for individual cpu stats.

I see no references to adjusting the brightness. If you do not want to do as 01mf02 suggests, it looks like you are stuck playing with your colors.
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Sun Dec 18, 2005 10:33 pm    Post subject: Reply with quote

right i tried cpu1 and cpu2, but instead of giving me a percent they just gave me {cpu1} and {cpu2}. I dont know think it supports logical processors in a hyperthreaded processor.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Mon Dec 19, 2005 12:12 am    Post subject: Reply with quote

Are you using an SMP kernel?
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Mon Dec 19, 2005 4:57 am    Post subject: Reply with quote

whatever gentoo gave me on install. gkrellm2 sees 2 processors
Back to top
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Mon Dec 19, 2005 5:01 am    Post subject: Reply with quote

whatever gentoo gave me on install. gkrellm2 sees 2 processors
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Mon Dec 19, 2005 5:13 am    Post subject: Reply with quote

example for cpu usage on smp:
Code:
Overall ${cpu}%
CPU 1 ${cpubar cpu1}
CPU 2 ${cpubar cpu2}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum