harmattan version.
[monky] / data / conky.conf
index 14c92d7..610540b 100644 (file)
@@ -1,42 +1,24 @@
-# 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 <http://www.gnu.org/licenses/>.
-#
-# $Id$
+#don't modify this file directly because an update could overwrite your changes!
+#copy any files you modify to /home/user/MyDocs and update the path below and also in the loadAll.lua file
+#conky will load the .conf file from there unless you are using mass storage usb at that moment
 
-alignment bottom_left
+lua_load /etc/conky/LoadAll.lua
+lua_draw_hook_pre main
+
+alignment top_left
 background no
+maximum_width 854
 border_width 1
 cpu_avg_samples 2
-default_color white
 default_outline_color white
 default_shade_color white
+diskio_avg_samples 10
 draw_borders no
 draw_graph_borders yes
 draw_outline no
 draw_shades no
-font 6x10
-gap_x 5
+double_buffer yes
+gap_x 20
 gap_y 60
 minimum_size 5 5
 net_avg_samples 2
@@ -45,31 +27,48 @@ out_to_console no
 own_window yes
 own_window_class Conky
 own_window_type normal
+own_window_transparent no
+own_window_hints fullscreen
+#own_window_colour ff0000
+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.5
+update_interval_on_battery 4
 uppercase no
-use_spacer no
-show_graph_scale no
+use_spacer none
+use_xft yes
+xftfont Nokia Pure:size=11
+xftalpha 0.8
+
+default_color FFFFFF
 
 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}
+${image /etc/conky/n950-kobol.jpg}
+
+
+${goto 265}${color 4072a5}Load1 avg: ${goto 517}${color 4072a5}Processes:$color $processes
+${color 4072a5}${goto 265}Load 1/5/15: $color$loadavg${goto 517}${color 4072a5}Running:${goto 620}$color$running_processes
+${voffset -10}
+${color 4072a5}${goto 315} Top I/O         READ  WRITE      %
+${color red}   ${goto 315} ${lua_parse top_io_colour 1}
+${color       }${goto 315} ${lua_parse top_io_colour 2}
+${color       }${goto 315} ${lua_parse top_io_colour 3}
+
 
+${voffset 10}
+${color 33cc99}CONNECTIONS [$color${tcp_portmon 1 65535 count}${color 33cc99}] (lport:rservice:rport):$color                                            ${goto 405}${tcp_portmon 1 65535 lservice 0}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 0}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 0}}
+$color${tcp_portmon 1 65535 lservice 1}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 1}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 1}}${goto 405}${tcp_portmon 1 65535 lservice 2}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 2}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 2}}
+$color${tcp_portmon 1 65535 lservice 3}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 3}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 3}}${goto 405}${tcp_portmon 1 65535 lservice 4}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 4}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 4}}
+$color${tcp_portmon 1 65535 lservice 5}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 5}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 5}}${goto 405}${tcp_portmon 1 65535 lservice 6}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 6}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 6}}
+$color${tcp_portmon 1 65535 lservice 7}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 7}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 7}}${goto 405}${tcp_portmon 1 65535 lservice 8}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 8}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 8}}
+$color${tcp_portmon 1 65535 lservice 9}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 9}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 9}}${goto 405}${tcp_portmon 1 65535 lservice 10}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 10}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 10}}
+${voffset 10}${color 4072a5}Top CPU%          CPU%  MEM%       ${goto 257}${color 4072a5} | ${color 4072a5}Top Total Memory  RAM     VM                              ${goto 555}${color 4072a5}| ${color 4072a5}Top CPU TIME     MM:SS.cs
+${lua_parse top_cpu_colour 1}                     ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 1}                                                                                                                                                    ${goto 555}${color 4072a5}| ${color    }${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} | ${lua_parse top_mem_colour 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} | ${lua_parse top_mem_colour 3}                                                                                                                                                                    ${goto 555}${color 4072a5}| ${color    }${top_time name 3}${top_time time 3} ${top_time cpu 3}
+$color${top name 4}${top cpu 4}${top mem 4}       ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 4}                                                                                                                                                                    ${goto 555}${color 4072a5}| ${color    }${top_time name 4}${top_time time 4} ${top_time cpu 4}
+$color${top name 5}${top cpu 5}${top mem 5}       ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 5}                                                                                                                                                                    ${goto 555}${color 4072a5}| ${color    }${top_time name 5}${top_time time 5} ${top_time cpu 5}