conky-1.9.0-nolua.xzm
conky-1.9.0.xzm (depends on lua at least, didn't test it though)
lua-5.1.5-x86_64-1cf.xzm (example lua module)
Compiled from official sources on clean porteus 3.0 (+devel)
Code: Select all
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-lua
mkdir /new
make && make install DESTDIR=/new
added "/usr/share/autostart/conky.desktop" script
P.S. I tried to use version, created by freestyler, but didn't want to install dependancies like imlib, so I compiled it like this.
Update (2012-04-12) re-upload conky-1.8.1-2.xzm
Hello all!
Here's a little something I use: conky 1.8.1, system monitor, a fork ot torsmo.
It looks like this (bottom right corner).
This version doesn't requre lua and probably other deps unlike Slackware package.
Configured with options "--prefix=/usr --sysconfdir=/etc --disable-lua --enable-wlan"
About dependencies: feh is used if you don't want to see black rectangle under conky, giblib and imlib2 are used by feh
Here's example config file I use (place it in /etc/conky/conky.conf)
Code: Select all
alignment bottom_right
background yes
border_inner_margin 8
border_width 2
color1 white
# light blue
color2 red
color3 brown
color4 green
color5 pink
color6 yellow
color7 cyan
cpu_avg_samples 2
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline yes
draw_shades no
default_shade_color 000000
extra_newline no
# Gap between borders of screen and text
gap_x 5
gap_y 5
maximum_width 335 0
#minimum_size 5 5
net_avg_samples 2
no_buffers no
out_to_console no
out_to_stderr no
override_utf8_locale yes
own_window yes
own_window_colour black
own_window_class Conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
#own_window_type override
#own_window_argb_130
show_graph_range no
show_graph_scale no
stippled_borders 4
text_buffer_size 2048
update_interval 3.0
uppercase no
# adds spaces around certain objects to stop them from moving other things around
use_spacer right
#use_xft yes
#xftalpha 0.8
#xftfont DejaVu Sans Mono:size=8
#font -misc-fixed-medium-r-semicondensed-*-*-100-*-*-c-*-iso8859-1
font -misc-fixed-medium-r-semicondensed-*-*-*-*-*-*-*-*
#font -misc-fixed-medium-r-semicondensed-*-*-100-*-*-c-*-utf8
TEXT
${texeci 24 feh --bg-fill "`grep 'wallpaper=/' ~/.kde4/share/config/plasma-desktop-appletsrc | sed 's/wallpaper=//' | sed q`"}
${color5}$nodename/$kernel $machine Uptime: $uptime
${color4}CPU ${freq}MHz x ${execi 18000 cat /proc/cpuinfo | grep processor | wc -l}${alignr}${if_match "${cpu cpu0}" > "85" }${color2}${endif}${cpubar cpu0 2,235}
${color1}Core1${color} ${cpu cpu1}% ${if_match "${execi 18000 sensors | grep Core0 -c}"=="2"}${execi 3 sensors | grep Core0 | tail +15c | head -2c}(~${execi 3 sensors | grep Core0 | sed -n '/Core0 Temp/ {n;p}' | tail +15c|head -2c})'C${color1}${if_match "${cpu cpu1}" > "95" }${color2}${endif} ${alignr}${cpubar cpu1 2,210}${else}${alignr}${cpubar cpu1 2,235}${endif}${if_existing /sys/devices/system/cpu/cpu1}
${color1}Core2${color} ${cpu cpu2}% ${if_match "${execi 18000 sensors | grep Core1 -c}"=="2"}${execi 3 sensors | grep Core1 | tail +15c | head -2c}(~${execi 3 sensors | grep Core1 | sed -n '/Core1 Temp/ {n;p}' | tail +15c|head -2c})'C${color1}${if_match "${cpu cpu2}" > "95" }${color2}${endif} ${alignr}${cpubar cpu2 2,210}${else}${alignr}${cpubar cpu2 2,235}${endif}${endif}${if_existing /sys/devices/system/cpu/cpu2}
${color1}Core3${color} ${cpu cpu3}% ${if_match "${execi 18000 sensors | grep Core2 -c}"=="2"}${execi 3 sensors | grep Core2 | tail +15c | head -2c}(~${execi 3 sensors | grep Core2 | sed -n '/Core2 Temp/ {n;p}' | tail +15c|head -2c})'C${color1}${if_match "${cpu cpu3}" > "95" }${color2}${endif} ${alignr}${cpubar cpu3 2,210}${else}${alignr}${cpubar cpu3 2,235}${endif}${endif}${if_existing /sys/devices/system/cpu/cpu3}
${color1}Core4${color} ${cpu cpu4}% ${if_match "${execi 18000 sensors | grep Core3 -c}"=="2"}${execi 3 sensors | grep Core3 | tail +15c | head -2c}(~${execi 3 sensors | grep Core3 | sed -n '/Core3 Temp/ {n;p}' | tail +15c|head -2c})'C${color1}${if_match "${cpu cpu4}" > "95" }${color2}${endif} ${alignr}${cpubar cpu4 2,210}${else}${alignr}${cpubar cpu4 2,235}${endif}${endif}${if_existing /sys/devices/system/cpu/cpu4}
${color1}Core5${color} ${cpu cpu5}% ${if_match "${execi 18000 sensors | grep Core4 -c}"=="2"}${execi 3 sensors | grep Core4 | tail +15c | head -2c}(~${execi 3 sensors | grep Core4 | sed -n '/Core4 Temp/ {n;p}' | tail +15c|head -2c})'C${color1}${if_match "${cpu cpu5}" > "95" }${color2}${endif} ${alignr}${cpubar cpu5 2,210}${else}${alignr}${cpubar cpu5 2,235}${endif}${endif}${if_existing /sys/devices/system/cpu/cpu5}
${color1}Core6${color} ${cpu cpu6}% ${if_match "${execi 18000 sensors | grep Core5 -c}"=="2"}${execi 3 sensors | grep Core5 | tail +15c | head -2c}(~${execi 3 sensors | grep Core5 | sed -n '/Core5 Temp/ {n;p}' | tail +15c|head -2c})'C${color1}${if_match "${cpu cpu6}" > "95" }${color2}${endif} ${alignr}${cpubar cpu6 2,210}${else}${alignr}${cpubar cpu6 2,235}${endif}${endif}
${cpugraph 000000 ffffff}
${color1}Load:${color} ${loadavg} ${color1}Processes:${color} $processes ${alignr}${color1}Running:${color} $running_processes
${color1}NAME ${alignr 64}PID ${alignr 32}MEM% ${alignr}CPU%
${color5}${top name 1} ${alignr 32}${top pid 1} ${alignr 16}${top mem 1} ${alignr}${top cpu 1}${color}
${top name 2} ${alignr 32}${top pid 2} ${alignr 16}${top mem 2} ${alignr}${top cpu 2}
${top name 3} ${alignr 32}${top pid 3} ${alignr 16}${top mem 3} ${alignr}${top cpu 3}
${top name 4} ${alignr 32}${top pid 4} ${alignr 16}${top mem 4} ${alignr}${top cpu 4}
${color4}RAM $memperc%, $mem of $memmax / DISK ${fs_free}${alignr}${fs_bar 2,70 /}${color1}
#${color1}swap:${color} $swapperc% $swap / $swapmax ${alignr}${swapbar 6,164}
${diskiograph_read 25,165} ${alignr}${diskiograph_write 25,165}
${color1}Read: ${color}${diskio_read}${alignc -64}${color1}Write: ${color}${diskio_write}
${color5}${if_match "$gw_iface" == "eth0"}${color5}${endif}${if_existing /proc/net/route eth0}eth0 ${addr eth0}${endif}${color4}${if_match "$gw_iface" == "wlan0"}${color5}${endif}${if_existing /proc/net/route wlan0}wlan0 ${addr wlan0} ${endif}${if_gw}${color5}(${execi 300 wget http://automation.whatismyip.com/n09230945.asp -O - -q})${color4}${endif}${hr 2}${color1}
${if_existing /proc/net/route eth0}eth0 ${addr eth0} Up:${upspeed eth0} Down:${downspeed eth0}${endif}${if_existing /proc/net/route wlan0}wlan0 ${wireless_essid wlan0} Up:${upspeed wlan0}(${totalup wlan0}) Down:${downspeed wlan0}(${totaldown wlan0})${endif}
${if_existing /sys/class/power_supply/BAT1}${color4}BAT1 ${if_existing /sys/class/power_supply/BAT1/manufacturer}${execi 120 cat /sys/class/power_supply/BAT1/manufacturer}/${endif}${if_existing /sys/class/power_supply/BAT1/technology}${execi 120 cat /sys/class/power_supply/BAT1/technology}${endif} ${if_existing /sys/class/power_supply/BAT1/status Discharging}${color2}${endif}${if_existing /sys/class/power_supply/BAT1/status}(${execi 3 cat /sys/class/power_supply/BAT1/status}) ${endif}${color4}${hr 2}${color1}
${if_existing /sys/class/power_supply/BAT1/charge_now}${execi 3 cat /sys/class/power_supply/BAT1/charge_now | sed 's/...$//'}${endif}/${if_existing /sys/class/power_supply/BAT1/charge_full}${execi 120 cat /sys/class/power_supply/BAT1/charge_full | sed 's/...$//'}mAh${endif}${if_existing /sys/class/power_supply/BAT1/charge_full_design} (Factory ${execi 120 cat /sys/class/power_supply/BAT1/charge_full_design | sed 's/...$//'}mAh)${endif} ${if_existing /sys/class/power_supply/BAT1/voltage_now}${execi 3 cat /sys/class/power_supply/BAT1/voltage_now | sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{6\}\)/\1,\2/;ta' | sed 's/...$//'}V${endif}${if_existing /sys/class/power_supply/BAT1/voltage_min_design} (min ${execi 120 cat /sys/class/power_supply/BAT1/voltage_min_design | sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{6\}\)/\1,\2/;ta' | sed 's/...$//'}V)${endif}${endif}
Also here I tried to automatically detect some things (number of cores, presence of battery, information from sensors) so there is probability that not everything will be seen on other systems/distros/Porteus versions. Please tell me if everything's Ok or if you don't see something.
Especially I'd like to know about CPU temperature(s).