this is a variation of the conky script posted by dlm955 on this thread..
Code:
#==============================================================================
# ConkyHXR
#
# Date : 03/08/2011
# author : xeNULL
# version : v0.1
# license : Distributed under the terms of GNU GPL version 2 or later
# edited by dlm955, debd
#==============================================================================
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius
short_units yes
double_buffer yes
no_buffers yes
text_buffer_size 512
gap_x 25
gap_y 40
minimum_size 180 0
maximum_width 180
own_window yes
own_window_type normal
own_window_transparent yes
#own_window_argb_visual yes
#own_window_argb_value 0
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
border_inner_margin 10
border_outer_margin 5
alignment top_left
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_bar_size 150 15
override_utf8_locale yes
use_xft yes
xftfont Inconsolata:size=11
xftalpha 0.0
uppercase no
default_color FFFFFF
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 FFFFFF
temperature_unit fahrenheit
lua_load ~/.conky/xeNULLhxr.lua
lua_draw_hook_post main
TEXT
${goto 65}${voffset 15}${font Radio Space:size=13}SYSTEM INFO${font}
#${image ~/icons/kde-windows-icon.png -p 0,10 -s 48x48}
${goto 80}${voffset -10}${font Radio Space:size=14}${time %A}${font}
${voffset -5}${color F37B3A}${font OpenLogos:size=30} u${font}${color}${font Radio Space:size=30}${time %I}${font Radio Space:size=20}${time :%M}${font Radio Space:size=10}${time %p}
${voffset 0}${offset 60}${font Radio Space:size=16}${color}CPU ${font Radio Space:size=10}${execi 10 sensors|grep "CPU Temperature"|cut -d ":" -f 2|cut -c 6-7} °C
#${voffset -25}${offset 90}0${offset 10}${hwmon 1 temp 1}°f
#${voffset 0}${offset 8}${offset 90}1${offset 8}${hwmon 1 temp 3}°f
${voffset -10}${color4}${offset 45}${cpugraph 18,135 00e000 ff0000 -t}${color}
${voffset -10}${offset 55}${font Inconsolata:size=8,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%
${voffset 10}${offset 60}${font Radio Space:size=16}${color}MEM
${voffset -10}${color4}${offset 40}${memgraph 15,145 000000 ff0000 -t}${color}
${voffset -15}${offset 55}${font Inconsolata:size=8,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 55}${font Inconsolata:size=8,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%
${voffset 40}${offset 45}${diskiograph 20,140 00e000 ff0000 -t}
${voffset -50}${offset 60}${font Radio Space:size=16}${color}DISK ${hddtemp /dev/sde}°c
${offset 45}${font Inconsolata:size=8${alignr}}${color}/ ${fs_used /} - ${fs_size /}
${voffset 5}${offset 45}${font Radio Space:size=16}Network
${voffset 70}${offset}${font Radio Space:size=9}${color }ETHERNET:#${offset 45}WIRELESS
${goto 90}${color}${font Radio Space:size=8}${if_up eth1}${execi 900 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${else}Not Connected${color}${endif}#${offset 54}${addr wlan0}
${voffset -30}${color4}${upspeedgraph eth1 20,145 ff0000 00e000 -t}#${offset 40}${upspeedgraph wlan0 20,70 999999 ffffff}${color}
${color4}${downspeedgraph eth1 20,145 ff0000 00e000 -t}#${offset 40}${downspeedgraph wlan0 20,70 999999 ffffff}${color}
${voffset 15}${font Bitstream Vera Sans Mono:size=14}${execi 1800 conkyForecast --location=INXX0300 --datatype=CT}${font}
${font ConkyWeather:style=Bold:size=40}${execi 1800 conkyForecast --location=INXX0300 --datatype=WF} ${font ConkyWindNESW:size=40}${execi 1800 conkyForecast --location=INXX0300 --datatype=BS}${font}
${execi 1800 conkyForecast --location=INXX0300 --datatype=HT --centeredwidth=4} ${execi 1800 conkyForecast --location=INXX0300 --datatype=WD} @ ${execi 1800 conkyForecast --location=INXX0300 --datatype=WS --imperial}
there are 2 problems with this script:
1. hddtemp /dev/sda ain't working without root permissions.
2. I added the weather information at the end of the script, but its partially displayed (see the attachment) I tried increasing the height of the conky window from the "minimum_size" variable but with no result, neither did incresing "text_buffer_size" (does it help anyway??) .
what are the possible fixes?
Bookmarks