wok rev 1017

Add conky (light system monitor)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jul 08 23:34:19 2008 +0200 (2008-07-08)
parents 34f139e5f103
children 35774f63f366
files conky/receipt conky/stuff/conky.conf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/conky/receipt	Tue Jul 08 23:34:19 2008 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="conky"
     1.7 +VERSION="1.5.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Simple and very light system monitor."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +BUILD_DEPENDS="xorg-libXdamage"
    1.12 +BUILD_DEPENDS="xorg-dev xorg-libXdamage-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://conky.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS
    1.26 +	make
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr $fs/etc/conky
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a stuff/conky.conf $fs/etc/conky
    1.36 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/conky/stuff/conky.conf	Tue Jul 08 23:34:19 2008 +0200
     2.3 @@ -0,0 +1,61 @@
     2.4 +# /etc/conky/conky.conf: SliTaz Conky default configuration file.
     2.5 +#
     2.6 +
     2.7 +alignment top_right
     2.8 +background no
     2.9 +border_width 1
    2.10 +cpu_avg_samples 2
    2.11 +
    2.12 +default_color white
    2.13 +default_outline_color white
    2.14 +default_shade_color white
    2.15 +
    2.16 +draw_borders no
    2.17 +draw_graph_borders yes
    2.18 +draw_outline no
    2.19 +draw_shades no
    2.20 +
    2.21 +gap_x 20
    2.22 +gap_y 20
    2.23 +
    2.24 +minimum_size 5 5
    2.25 +net_avg_samples 2
    2.26 +no_buffers yes
    2.27 +out_to_console no
    2.28 +
    2.29 +own_window yes
    2.30 +own_window_class Conky
    2.31 +own_window_type desktop
    2.32 +
    2.33 +stippled_borders 0
    2.34 +update_interval 3.0
    2.35 +uppercase no
    2.36 +use_spacer no
    2.37 +
    2.38 +use_xft yes
    2.39 +xftfont DejaVu Sans Mono:size=9
    2.40 +own_window_transparent yes
    2.41 +
    2.42 +
    2.43 +TEXT
    2.44 +$nodename - $sysname $kernel on $machine
    2.45 +$hr
    2.46 +${color grey}Uptime:$color $uptime
    2.47 +${color grey}Frequency (in MHz):$color $freq
    2.48 +${color grey}Frequency (in GHz):$color $freq_g
    2.49 +${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
    2.50 +${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
    2.51 +${color grey}CPU Usage:$color $cpu% ${cpubar 4}
    2.52 +${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
    2.53 +$hr
    2.54 +${color grey}File systems:
    2.55 + / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
    2.56 +${color grey}Networking:
    2.57 +Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
    2.58 +$hr
    2.59 +${color grey}Name                  PID   CPU%   MEM%
    2.60 +${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    2.61 +${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    2.62 +${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    2.63 +${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    2.64 +