My Conky conf file

Updated - Weather forecast included

Conky is a well knwon, light-weight system monitor for X. It is highly customizable and you can use it to display useful information in your desktop. The configuration file can be found in ~/.conkyrc.

The package for Ubuntu can be found in the software control centre or type
sudo apt-get install conky

This is a print screen of how I use it.

curl, tail and awk packages are used in the example above. If conky fails, check if you have them installed.

I have included my conf file below. Advanced readers should give a look in the links below to modify the conf file according to their needs.
Official site -

To use the weather forecast you need to go here, to ubuntuforums, and follow the instructions according to your needs.

In a few words you' ll need to find your location in accuweather and copy the URL, place the accuweather_conky folder in your home folder and then add/modify the lines from the conky_acc_int to your .conkyrc file.

TeoBigusGeekus has created full how-to pdf files that will guide you through.

Good luck.

~/.confrc file

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 450
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color black
default_outline_color green
alignment bm
gap_x -230
gap_y 150
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

$sysname $kernel on $alignr $machine
Uptime $alignr $uptime
Load $alignr $loadavg
Hostname $alignr $nodename
${hr 2}
$alignc${color 8e8e8e}Lemnos${execi 600 bash ~/accuweather_conky/accuw_script}
${font conkyweather:size=40}${execi 600  sed -n '6p' ~/accuweather_conky/images}${font}${goto 75}${voffset -40}${execpi 600 sed -n '1p' ~/accuweather_conky/days}
${goto 75}High: ${execpi 600 sed -n '2p' ~/accuweather_conky/temperatures}C  Low: ${execpi 600 sed -n '3p' ~/accuweather_conky/temperatures}C

${font conkyweather:size=40}${execi 600  sed -n '7p' ~/accuweather_conky/images}${font}${goto 75}${voffset -40}${execpi 600 sed -n '3p' ~/accuweather_conky/days}
${goto 75}High: ${execpi 600 sed -n '4p' ~/accuweather_conky/temperatures}C  Low: ${execpi 600 sed -n '5p' ~/accuweather_conky/temperatures}C

${font conkyweather:size=40}${execi 600  sed -n '8p' ~/accuweather_conky/images}${font}${goto 75}${voffset -40}${execpi 600 sed -n '5p' ~/accuweather_conky/days}
${goto 75}High: ${execpi 600 sed -n '6p' ~/accuweather_conky/temperatures}C  Low: ${execpi 600 sed -n '7p' ~/accuweather_conky/temperatures}C

${hr 2}
$alignc NETWORK 
External IP $alignr ${exec curl -s | grep -i address | sed s'/<[^>]*>//g' | sed s'/Current IP CheckCurrent IP Address: //' | sed 's/\(.*\)./\1/'}
eth0 $alignr ${addr eth0}
Inbound $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0}
Outbound $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0}
${hr 2}
$alignc CPU 
CPU1 running at $alignr ${freq_g cpu1} GHz
CPU2 running at $alignr ${freq_g cpu2} GHz
CPU1  ${cpu cpu1}% ${alignc 35}${cpubar  cpu1}
CPU2  ${cpu cpu2}% ${alignc 35}${cpubar  cpu2}
${hr 2}
$alignc ${exec aticonfig --adapter=0 --od-gettemperature | sed s'/Adapter 0 - //' | grep ATI | sed s'/ Series//'}
GPU load $alignr ${execi 2 aticonfig --adapter=0 --od-getclocks | grep -i GPU | cut -c 30-}
GPU Temp $alignr ${execi 2 aticonfig --adapter=0 --od-gettemperature | tail -n1 | awk '{ printf $5 } '} Celsius
${hr 2}
$alignc MEMORY
$mem / $memmax $alignr $memperc%
swap $alignc $swap / $swapmax $alignr $swapperc%
${hr 2}
/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${hr 2}
$alignc PROCESSES (${running_processes} / ${processes})
NAME $alignr PID     CPU
${top name 1} $alignr ${top pid 1}  ${top cpu 1}
${top name 2} $alignr ${top pid 2}  ${top cpu 2}
${top name 3} $alignr ${top pid 3}  ${top cpu 3}
${top name 4} $alignr ${top pid 4}  ${top cpu 4}
${top name 5} $alignr ${top pid 5}  ${top cpu 5}
${hr 2}


Popular posts from this blog

Ubuntu 11.04 - Process management (2/6)

Ubuntu 11.04 - Memory management (3/6)

Ubuntu 11.04 - General Overview (1/6)