From: Creamy Goodness Date: Wed, 8 Sep 2010 18:41:32 +0000 (-0600) Subject: updated the default conf file because the old one was crashing conky. X-Git-Url: http://vcs.maemo.org/git/?p=monky;a=commitdiff_plain;h=8ce2deb9bc484b69a0b4e6ce33e9a55e65f15ceb updated the default conf file because the old one was crashing conky. --- diff --git a/debian/conky.conf b/debian/conky.conf index f58adbb..d93c408 100644 --- a/debian/conky.conf +++ b/debian/conky.conf @@ -1,28 +1,11 @@ -# Conky, a system monitor, based on torsmo -# -# Any original torsmo code is licensed under the BSD license -# -# All code written since the fork of torsmo is licensed under the GPL -# -# Please see COPYING for details -# -# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen -# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) -# All rights reserved. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $ +# cpu red > white +# memory blue > white +# disk green > white +# +# +# +# cool blue > cyan: 0000ff 00FFFF +# alignment top_left background no @@ -32,13 +15,11 @@ cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white +diskio_avg_samples 2 draw_borders no draw_graph_borders yes draw_outline no draw_shades no -use_xft yes -xftfont Droid Sans Mono:size=11 -xftalpha 0.8 double_buffer yes gap_x 20 gap_y 60 @@ -51,33 +32,44 @@ own_window_class Conky own_window_type normal own_window_transparent yes own_window_hints below,sticky +override_utf8_locale yes +show_graph_scale no +show_graph_range no +short_units yes stippled_borders 0 -update_interval 3.0 +temperature_unit celsius +update_interval 1 +update_interval_on_battery 5 uppercase no use_spacer none -show_graph_scale no -show_graph_range no +use_xft yes +xftfont Droid Sans Mono:size=11 +xftalpha 0.8 TEXT -$alignc $nodename - $sysname $kernel on $machine ${color yellow}Uptime:$color $uptime -${color ff8a00}$stippled_hr -${color yellow}Frequency:$color $freq MHz $alignc ${color yellow}Load:$color $loadavg $alignr ${color yellow}Processes:$color $processes ${color yellow}Running:$color $running_processes -${color yellow}CPU Usage:$color${goto 110}$cpu% ${goto 350}${color red}${cpubar 10} -${color yellow}CPU:${color black}${cpugraph 16,300 ff0000 ff0000}${color yellow} Lo:${color black}${loadgraph 1 16,105 ffe400 ffe400}${color yellow} Dio:${color black}${diskiograph /dev/mmcblk0 16,105 00ff00 00ff00}${color yellow} Mem:${color black}${memgraph 16,105 ff0000 ff0000} -${color yellow}RAM Usage:$color${goto 110}$mem${goto 190}| $memmax${goto 310}$memperc%${goto 350}${color green}${membar 10} -${color yellow}Swap Usage:$color${goto 110}$swap${goto 190}| $swapmax${goto 310}$swapperc%${goto 350}${color green}${swapbar 10} -${color ff8a00}$stippled_hr -${color yellow}rootfs${goto 110}$color${fs_free /}${goto 190}| ${fs_size /} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /} -${color yellow}home${goto 110}$color${fs_free /home}${goto 190}| ${fs_size /home} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /home} -${if_mounted /home/user/MyDocs}${color yellow}MyDocs${goto 110}$color${fs_free /home/user/MyDocs}${goto 190}| ${fs_size /home/user/MyDocs} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /home/user/MyDocs}$endif -${if_mounted /media/mmc1}${color yellow}mmc1${goto 110}$color${fs_free /media/mmc1}${goto 190}| ${fs_size /media/mmc1} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /media/mmc1}$endif -${color ff8a00}$stippled_hr -${if_up gprs0}${color yellow}gprs0: ${color yellow}Up:$color ${upspeed gprs0} kB/s${color grey} - ${color yellow}Down:$color ${downspeed gprs0} kB/s $else${color yellow}gprs0: ${color red} Not Connected$endif -${if_empty ${wireless_essid wlan0}}${color yellow}wlan0: ${color red}Not Connected $else${color yellow}wlan0 ESSID: $color${wireless_essid wlan0} ${color yellow}Rate: ${color}${wireless_bitrate wlan0} ${color yellow}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color yellow}Up:$color ${upspeed wlan0} kB/s ${color grey} - ${color yellow}Down:$color ${downspeed wlan0} kB/s $endif -${if_up gprs0}${color yellow}gprs0 Up: ${color black}${upspeedgraph gprs0 20,290 ff0000 00ff00}$alignr${color yellow}gprs0 Down: ${color black}${downspeedgraph gprs0 20,290 00ff0000 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color yellow}wlan0 Up: ${color black}${upspeedgraph wlan0 20,290 00ff00 ff0000}$alignr${color yellow}wlan0 Down: ${color black}${downspeedgraph wlan0 20,290 ff0000 00ff00}$endif$endif -${color ff8a00}$stippled_hr -${color lightgrey}Name PID CPU% MEM% -${color #ff6000} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} -${color #ffa800} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} -${color #fffc2a} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} -${color #24ff00} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} \ No newline at end of file +${color }$nodename - $sysname $kernel on $machine ${color 4072a5}$alignr Uptime:$color $uptime ${color #4072a5}Battery:${color}${battery_short} +${color 4072a5}CPU:${goto 45}${color red}${voffset 2}${cpubar cpu0 14,240}${goto 300}${color 4072a5}Load 1/5/15:$color $loadavg $alignr ${color 4072a5}Processes:$color $processes ${color 4072a5}Running:$color $running_processes +${color }${alignr 460}${voffset -20}$cpu%${voffset 0}#can't alignr two things on the same line. alignr is the only way to get the % symbol to stay lined up. it will move if you use goto +${color }${goto 119}$freq MHz +${color 4072a5}CPU:${color black}${cpugraph 16,240 ffffff ff0000 -t}${color 4072a5}${goto 300}Load1 avg:${color black}${loadgraph 16,105 ffffff ff0000 -t -1}${color 4072a5} Dio:${color black}${diskiograph /dev/mmcblk0 16,105 ffffff 00ff00 -t -1}${color 4072a5} Mem:${color black}${memgraph 16,105 ffffff 0000ff -t} +${color 4072a5}RAM:${goto 45}${color blue}${voffset 2}${membar 16,240} +${color }${voffset -20}$color${goto 110}$mem${goto 190}/ $memmax${goto 310}$memperc%${goto 350} +${color 4072a5}Swap Usage:$color${goto 110}$swap${goto 190}/ $swapmax${goto 310}$swapperc%${goto 350}${color lightgrey}${swapbar 10} +${color 4072a5}rootfs${goto 110}$color${fs_free /}${goto 190}/ ${fs_size /} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /} +${color 4072a5}home${goto 110}$color${fs_free /home}${goto 190}/ ${fs_size /home} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /home} +${if_mounted /home/user/MyDocs}${color 4072a5}MyDocs${goto 110}$color${fs_free /home/user/MyDocs}${goto 190}/ ${fs_size /home/user/MyDocs} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /home/user/MyDocs}$endif +${if_mounted /media/mmc1}${color 4072a5}SD Card${goto 110}$color${fs_free /media/mmc1}${goto 190}/ ${fs_size /media/mmc1} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /media/mmc1}$endif +${if_up gprs0}${color 4072a5}gprs0: ${color 4072a5}Up:$color ${upspeed gprs0} kB/s ${color 4072a5}Down:$color ${downspeed gprs0} kB/s +${color 4072a5}gprs0 Up: ${color black}${upspeedgraph gprs0 20,290 ff0000 00ff00}$alignr${color 4072a5}gprs0 Down: ${color black}${downspeedgraph gprs0 20,290 00ff0000 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color #4072a5}wlan0 ESSID: $color${wireless_essid wlan0} ${color #4072a5}Rate: ${color}${wireless_bitrate wlan0} ${color #4072a5}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color #4072a5}Up:$color ${upspeed wlan0} kB/s ${color grey} - ${color #4072a5}Down:$color ${downspeed wlan0} kB/s +${color 4072a5}wlan0 Up: ${color black}${upspeedgraph wlan0 20,290 00ff00 ff0000}$alignr${color 4072a5}wlan0 Down: ${color black}${downspeedgraph wlan0 20,290 ff0000 00ff00}$endif$endif +${color 4072a5}CONNECTIONS [$color${tcp_portmon 1 65535 count}${color 4072a5}](local:remote:port):${goto 400}$color${tcp_portmon 1 65535 lservice 3}~${scroll 34 5${tcp_portmon 1 65535 rhost 3}}${goto 750}:${tcp_portmon 1 65535 rservice 3} +$color${tcp_portmon 1 65535 lservice 0}:${scroll 34 5${tcp_portmon 1 65535 rhost 0}}${goto 362}:${scroll 5 2${tcp_portmon 1 65535 rservice 0}}$color ${tcp_portmon 1 65535 lservice 4}:${scroll 34 5${tcp_portmon 1 65535 rhost 4}}:${tcp_portmon 1 65535 rservice 4} +$color${tcp_portmon 1 65535 lservice 1}:${scroll 34 5${tcp_portmon 1 65535 rhost 1}}${goto 362}:${scroll 5 2${tcp_portmon 1 65535 rservice 1}}$color ${tcp_portmon 1 65535 lservice 5}:${scroll 34 5${tcp_portmon 1 65535 rhost 5}}:${tcp_portmon 1 65535 rservice 5} +$color${tcp_portmon 1 65535 lservice 2}:${scroll 34 5${tcp_portmon 1 65535 rhost 2}}${goto 362}:${scroll 5 2${tcp_portmon 1 65535 rservice 2}}$color ${tcp_portmon 1 65535 lservice 6}:${scroll 34 5${tcp_portmon 1 65535 rhost 6}}:${tcp_portmon 1 65535 rservice 6} +${color 4072a5}Top CPU% CPU% MEM% ${goto 257}${color 4072a5} | ${color 4072a5}Top Total Memory RAM VM ${goto 555}${color 4072a5}| ${color 4072a5}CPU TIME HH:MM.SS +${color red}${top name 1}${top cpu 1}${top mem 1} ${goto 257}${color 4072a5} | ${color red}${top_mem name 1}${top_mem mem_res 1} ${top_mem mem_vsize 1} ${goto 555}${color 4072a5}| ${color red}${top_time name 1}${top_time time 1} ${top_time cpu 1} +$color${top name 2}${top cpu 2}${top mem 2} ${goto 257}${color 4072a5} | ${color }${top_mem name 2}${top_mem mem_res 2} ${top_mem mem_vsize 2} ${goto 555}${color 4072a5}| ${color }${top_time name 2}${top_time time 2} ${top_time cpu 2} +$color${top name 3}${top cpu 3}${top mem 3} ${goto 257}${color 4072a5} | ${color }${top_mem name 3}${top_mem mem_res 3} ${top_mem mem_vsize 3} ${goto 555}${color 4072a5}| ${color }${top_time name 3}${top_time time 3} ${top_time cpu 3} +This default config file was loaded from /etc/conky/conky.conf To customize just copy it to +/home/user/MyDocs or download or create a new one. +$color---------1---------2---------3---------4---------5---------6---------7---------8---------9---------0---------1 \ No newline at end of file