# HG changeset patch # User Christophe Lincoln # Date 1215552859 -7200 # Node ID 3ed960c78a5f2cf0549a562495e842354a61f436 # Parent 34f139e5f103aa09d0a78e025d25eb361a8be3c6 Add conky (light system monitor) diff -r 34f139e5f103 -r 3ed960c78a5f conky/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conky/receipt Tue Jul 08 23:34:19 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="conky" +VERSION="1.5.1" +CATEGORY="system-tools" +SHORT_DESC="Simple and very light system monitor." +MAINTAINER="pankso@slitaz.org" +BUILD_DEPENDS="xorg-libXdamage" +BUILD_DEPENDS="xorg-dev xorg-libXdamage-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://conky.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/etc/conky + cp -a $_pkg/usr/bin $fs/usr + cp -a stuff/conky.conf $fs/etc/conky +} diff -r 34f139e5f103 -r 3ed960c78a5f conky/stuff/conky.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conky/stuff/conky.conf Tue Jul 08 23:34:19 2008 +0200 @@ -0,0 +1,61 @@ +# /etc/conky/conky.conf: SliTaz Conky default configuration file. +# + +alignment top_right +background no +border_width 1 +cpu_avg_samples 2 + +default_color white +default_outline_color white +default_shade_color white + +draw_borders no +draw_graph_borders yes +draw_outline no +draw_shades no + +gap_x 20 +gap_y 20 + +minimum_size 5 5 +net_avg_samples 2 +no_buffers yes +out_to_console no + +own_window yes +own_window_class Conky +own_window_type desktop + +stippled_borders 0 +update_interval 3.0 +uppercase no +use_spacer no + +use_xft yes +xftfont DejaVu Sans Mono:size=9 +own_window_transparent yes + + +TEXT +$nodename - $sysname $kernel on $machine +$hr +${color grey}Uptime:$color $uptime +${color grey}Frequency (in MHz):$color $freq +${color grey}Frequency (in GHz):$color $freq_g +${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4} +${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4} +${color grey}CPU Usage:$color $cpu% ${cpubar 4} +${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes +$hr +${color grey}File systems: + / $color${fs_free /}/${fs_size /} ${fs_bar 6 /} +${color grey}Networking: +Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s +$hr +${color grey}Name PID CPU% MEM% +${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} +${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} +${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} +${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +