View previous topic :: View next topic |
Author |
Message |
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Thu Feb 01, 2007 2:06 pm Post subject: [TIP] Pimp my Conky. |
|
|
ok, here is my .conkyrc which is tweaked to show some Gentoo related information for better screenshots
screenshot image
http://ocidb.com/displayimage.php?album=136&pos=8
configuration file and scripts
http://weboperative.com/scripts/conky.tgz
NOTE:
before running this .conkyrc configuration please review and edit as needed for compatibility with your system paths.
enjoy it,
likewhoa
Last edited by likewhoa on Tue Nov 13, 2007 8:40 am; edited 1 time in total |
|
Back to top |
|
|
yoshi314 l33t
Joined: 30 Dec 2004 Posts: 850 Location: PL
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Feb 04, 2007 11:33 am Post subject: |
|
|
Thanks, looks cool. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Feb 04, 2007 12:33 pm Post subject: |
|
|
Also see http://www.gentoo.org/doc/en/conky-howto.xml
If i turn it to 0.2 Seconds it eats must of my cpu power, is this correct? It takes much more than gnome system-monitor
update_interval 5.0 => stable value, but it makes no sense, for the system monitor? |
|
Back to top |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Sun Feb 04, 2007 2:34 pm Post subject: |
|
|
tw04l124 wrote: | Also see http://www.gentoo.org/doc/en/conky-howto.xml
If i turn it to 0.2 Seconds it eats must of my cpu power, is this correct? It takes much more than gnome system-monitor
update_interval 5.0 => stable value, but it makes no sense, for the system monitor? |
It's more, but to be honest unless you're running a low-battery desktop it shouldn't really take noticeable amounts more. Just change the update value to 5.0 if you think it will be taking too much. |
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Sun Feb 04, 2007 4:38 pm Post subject: mis-information from conky manual |
|
|
somebody pointed out to me that two variables: $cpu, $cpubar & $cpugraph are in correct when monitoring individual cores and since
I was monitoring the overall $cpu usage and my system is at 100% load I didn't catch the incorrect reading from the sensors.
anyways, for those of you that want to monitor individual cores "i.e dual-core procs". you need to make some changes to these
variables.
setting conky to monitor individual cores:
Code: |
${color steelblue}CPU0 load: ${color darkred}${cpu cpu1} ${cpubar cpu1 5 15}
${color steelblue}CPU1 load: ${color darkred}${cpu cpu2} ${cpubar cpu2 5 15}
${color steelblue}${alignc}${cpugraph cpu1 20,170 0024ff 2b3364} ${cpugraph cpu2 20,170 0024ff 2b3364}
|
the conky manual is kind of misleading on these two variables:
Quote: |
cpu (cpuN)
CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu 0}
is the total usage, and ${cpu X} (X >= 1) are individual CPUs.
cpubar (cpu number) (height),(width)
Bar that shows CPU usage, height is bar's height in pixels. See $cpu for more info on SMP.
cpugraph (cpu number) (height),(width) (gradient colour 1) (gradient colour 2)
CPU usage graph, with optional colours in hex, minus the #. See $cpu for more info on SMP.
|
as you can see the manual tells you to use ${cpu X} but if you use ${cpu 1} & ${cpu 2} it's just the same as using ${cpu 0} meaning
monitor overall cpu load. same goes for $cpubar & $cpugraph..
the correct way is noted above. hope this clears up any future questions. |
|
Back to top |
|
|
skiidoo n00b
Joined: 10 Feb 2007 Posts: 35 Location: Paris, France
|
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Mon Nov 19, 2007 9:35 pm Post subject: |
|
|
gj will merge changes, and you're welcome also |
|
Back to top |
|
|
sinisterdomestik l33t
Joined: 28 Aug 2003 Posts: 685 Location: Texas
|
Posted: Sun Dec 23, 2007 5:14 am Post subject: |
|
|
omg im an idiot and cant figure out how to scale the damn thing down and its driving me CRAZY!!!!!!!!
/EDIT
and for us idiots out here..where is the path we are copying those script files to? _________________ Thou shalt NEVER speak of removing thine Linux |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Dec 23, 2007 12:01 pm Post subject: |
|
|
line 235
Code: |
{color0}Gentoo ${color3}${execi 43200 ~/.conky/scripts/gentoo.sh version} ${color0}Profile ${color3}${execi 43200 ls -ld /etc/make.profile | cut -d ' ' -f 11 | xargs basename} ${color0}Portage ${color3}${execi 43200 ~/.conky/scripts/gentoo.sh portage} ${color0}GCC ${color3}${execi 43200 gcc -dumpversion} ${color0}Glibc ${color3}${execi 43200 ~/.conky/scripts/gentoo.sh glibc} |
So I guess into ~/.conky/scripts unless you edit the conkyrc to change the directory _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
wolfden Tux's lil' helper
Joined: 13 Oct 2004 Posts: 102 Location: Midwest
|
|
Back to top |
|
|
ps n00b
Joined: 11 Jan 2008 Posts: 31 Location: /usr/portage
|
Posted: Sun Jan 13, 2008 8:34 am Post subject: |
|
|
I like my conky small and simple:
Code: | double_buffer yes
background yes
update_interval 5.0
total_run_times 0
own_window no
maximum_width 323
use_xft yes
override_utf8_locale no
xftfont Bitstream Vera Sans Mono:bold:size=11
draw_shades no
draw_outline no
draw_borders no
uppercase no
use_spacer no
border_margin 0
alignment top_right
gap_x 10
gap_y 40
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
mail_spool /var/mail/<username>
default_color lavender
color0 chartreuse2
color1 LightBlue3
TEXT
${color1}CPU$color $cpu% ${color1}RAM$color $memperc% ${color1}Swap$color $swapperc% ${color1}${alignr}Entropy $color${entropy_avail}
${color1}CPU${color0} ${exec cat /sys/class/hwmon/hwmon0/device/temp1_input | sed "s/\(..\)\(.\)../\1\.\2/"}C ${color1}SYS${color0} ${exec cat /sys/class/hwmon/hwmon0/device/temp2_input | sed "s/\(..\)\(.\)../\1\.\2/"}C ${color1}FAN${color0} ${exec cat /sys/class/hwmon/hwmon0/device/fan1_input} ${color1}${alignr}Eth0 ${texeci 10 silentping.sh 192.168.2.1 "up" "down"}${if_existing /home/phil/.status/192.168.2.1.up}${color0}+++$else${color red}---$endif
${color1}Audacious $color${audacious_status} - ${audacious_title 17} ${color1}${alignr}Mail$color $mails
${color1}${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} |
The silentping.sh script (I think it's from gentoo-wiki):
Code: | #!/bin/bash
STATUS="$(ping $1 -c 1 -w 2 | grep packets | sed "s/^.*tted, //;s/1/$2/;s/0/$3/;s/ re.*$//")"
if [ ! -d ~/.status ]; then mkdir ~/.status; fi
if [ "$STATUS" == "$2" ]; then
if [ -f ~/.status/$1.$3 ]; then rm ~/.status/$1.$3; fi
else
if [ -f ~/.status/$1.$2 ]; then rm ~/.status/$1.$2; fi
fi
if [ ! -f ~/.status/$1.$STATUS ]; then touch ~/.status/$1.$STATUS; fi |
ps _________________ ps
Looking forward --> |
|
Back to top |
|
|
ElemonGW n00b
Joined: 25 Dec 2007 Posts: 3
|
Posted: Fri Jan 18, 2008 11:16 pm Post subject: Re: [TIP] Pimp my Conky. |
|
|
Where have you found uprecords? It is needed by the uprecord script but I haven't found a program with that name anywhere. |
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Sat Jan 19, 2008 7:51 am Post subject: Re: [TIP] Pimp my Conky. |
|
|
ElemonGW wrote: |
Where have you found uprecords? It is needed by the uprecord script but I haven't found a program with that name anywhere. |
uptimed |
|
Back to top |
|
|
Spark25x n00b
Joined: 26 Feb 2012 Posts: 23
|
Posted: Mon Mar 05, 2012 7:51 pm Post subject: |
|
|
Man your link for download doesnt work |
|
Back to top |
|
|
paulj Guru
Joined: 30 Sep 2004 Posts: 513 Location: Wales, UK
|
Posted: Tue Mar 06, 2012 9:27 pm Post subject: |
|
|
spark666 wrote: |
Man your link for download doesnt work |
Did you see the dates on the thread? |
|
Back to top |
|
|
Spark25x n00b
Joined: 26 Feb 2012 Posts: 23
|
Posted: Tue Mar 06, 2012 9:59 pm Post subject: |
|
|
paulj wrote: | Did you see the dates on the thread? |
Sorry,now i noticed |
|
Back to top |
|
|
FrankRizz0 l33t
Joined: 29 Nov 2006 Posts: 617
|
Posted: Tue Mar 13, 2012 1:26 am Post subject: |
|
|
wolfden, if you're still watching this thread, could you please post a link to download your conky. PLEASE! and thank you of course! |
|
Back to top |
|
|
AlphaHeX n00b
Joined: 17 Jan 2005 Posts: 60 Location: Warsaw, Poland
|
Posted: Thu Mar 15, 2012 9:25 pm Post subject: |
|
|
His new webpage is http://wolf911.us/wgo/ _________________ HP Pavilion HDX9494NR [Intel Core 2 Duo X9000 | 20.1" Wide SXGA+ | 8GB Memory | 120 SSD + 500 HDD 7200rpm | Blu-ray Disc / Super Multi | NVIDIA GeForce 8800M GTS] |
|
Back to top |
|
|
|