The Perfect Conky Setup
Conky
Score 59%
Description:

Detailed Installation Instructions:
http://blog.segfault.co.in/?p=73

Conky Configuration file. The idea is an adaptation of the existing theme Conky Colors: http://gnome-look.org/content/show.php/CONKY-colors?content=92328

Suggestions from d2_racing, arch forums (where I found the original configuration which I have adapted to suite my needs) and conkyForecast.

Wallpaper: http://ubuntuevolution.files.wordpress.com/2010/01/wallpaper2560x1600.jpg
Last changelog:

7 years ago

v1.1 - Minor Modifications
- Changed fonts (refer to detailed installation instructions for download location of new fonts)
- Added CPU Temperature
- Changed MPD Now Playing Info to separate title and artist

v1.0 - Initial Release
Bug reports and suggestions are welcome.

Pipedreamer

7 years ago

######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

background yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8
update_interval 1
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 300
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color DarkSlateGrey
default_shade_color red
default_outline_color yellow
alignment top_right
gap_x 15
gap_y 70
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes
TEXT
${font openlogos:size=20}U${font Arial:size=20}${color Red1}Work${color Black}Horse${font openlogos:size=20}t
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Red1}SYSTEM ${color DarkSlateGray} ${hr 2}
$font${color DimGray}$sysname $kernel $alignr $machine
Intel Pentium D $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
File System $alignr${fs_type}
${font Arial:bold:size=10}${color Red1}PROCESSORS ${color DarkSlateGray}${hr 2}
$font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=10}${color Red1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${font Arial:bold:size=10}${color Red1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
/disk $alignc ${fs_used /media/disk} / ${fs_size /media/disk} $alignr ${fs_free_perc /media/disk}%
${fs_bar /media/disk}
/disk-1 $alignc ${fs_used /media/disk-1} / ${fs_size /media/disk-1} $alignr ${fs_free_perc /media/disk-1}%
${fs_bar /media/disk-1}
${font Arial:bold:size=10}${color Red1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
$font${top_mem name 6}${alignr}${top mem 6} %
${font Arial:bold:size=10}${color Red1}NETWORKING ${color DarkSlateGray}${hr 2}
${color DimGrey}$color WLAN0 ${color Red} on $color ${addr wlan0}
${color Red}Link Status ${color Red} on $color ${addr wlan0}
${color Dimgrey}Down:${color Red} ${downspeed wlan0} k/s${color Dimgrey} ${offset 80}Up:${color Red} ${upspeed wlan0} k/s
${color #0000ff}${downspeedgraph wlan0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph wlan0 32,150 0000ff ff0000}
$color
$Rhythmbox
${offset 69}${font $alignr UCm BT:size=10}${exec rhythmbox-client --print-playing-format %tt}
${offset 69}$color0${exec rhythmbox-client --print-playing-format %ta}$font${exec ret}
${exec cp "`conkyRhythmbox --datatype=CA | sed -e 's/\\\//g'`" /media/abbde26b-62ff-428b-ada5-7dd5faee570f/home/Redrum/.album}${image /media/abbde26b-62ff-428b-ada5-7dd5faee570f/home/Redrum/.album -p 0,2 -s 64x64}
${font Arial:bold:size=10}${color Red2}TIME ${color Red}${hr 2}
${color Red} ${font :size=20}$alignc${time %H:%Mh}
${voffset -20}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=8}$alignc${time %A}
${font Goudy Bookletter 1911:style=Bold}WEATHER${font} ${hr 2}
Location: ${execi 3600 conkyForecast --location=SZXX0033 --datatype=CN}
Conditions: ${execi 3600 conkyForecast --location=SZXX0033 --datatype=CC}
${font ConkyWeather:size=36}${execi 3600 conkyForecast --location=SZXX0033 --datatype=WF}${font}
Temp: ${execi 3600 conkyForecast --location=SZXX0033 --datatype=HT}
Extended Forecast
${font ConkyWeather:size=36}${execi 3600 conkyForecast --startday=1 --endday=3 --location=SZXX0033 --datatype=WF}${font}
${execi 3600 conkyForecast --location=SZXX0033 --startday=1 --endday=3 --spaces=15 --datatype=HT}
${execi 3600 conkyForecast --location=SZXX0033 --startday=1 --endday=3 --spaces=5 --datatype=DW}


Here is my script, dude if you can tell me where the problem is hopefully next time i can fix it.
Thanks in advance.

Report

C

rahulthewall3000

7 years ago

What is the error that you get?

Report

Pipedreamer

7 years ago

Conky: use_spacer should have an argument of left, right, or none. 'yes' seems to be some form of 'true', so defaulting to right.
Conky: statfs '/media/disk': No such file or directory
Conky: statfs '/media/disk-1': No such file or directory
Conky: unknown variable rhythmbox
Conky: forked to background, pid is 1893
redrum@ubuntu:~$
Conky: desktop window (1c000a6) is subwindow of root window (104)
Conky: window type - override
Conky: drawing to created window (0x4400001)
Conky: drawing to double buffer
Conky: statfs '/media/disk-1': No such file or directory
Conky: statfs '/media/disk': No such file or directory
sh: ret: not found
cp: cannot stat `': No such file or directory
ERROR: Server connection error: <urlopen error [Errno -2] Name or service not known>

It runs but i'm missing parts.

Report

C

rahulthewall3000

7 years ago

/media/disk and /media/disk-1 do not exist. Check how are your external (I am assuming these are external HDs) mounted and what is the true mount point.

$Rhythmbox - remove the $. It is not a variable.

use_spacer - chose a value from one available. But this is a harmless warning.

Report

Pipedreamer

7 years ago

######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

background yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8
update_interval 1
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 300
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color DarkSlateGrey
default_shade_color red
default_outline_color yellow
alignment top_right
gap_x 15
gap_y 70
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes
TEXT
${font openlogos:size=20}U${font Arial:size=20}${color Red1}Work${color Black}Horse${font openlogos:size=20}t
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Red1}SYSTEM ${color DarkSlateGray} ${hr 2}
$font${color DimGray}$sysname $kernel $alignr $machine
Intel Pentium D $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
File System $alignr${fs_type}
${font Arial:bold:size=10}${color Red1}PROCESSORS ${color DarkSlateGray}${hr 2}
$font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=10}${color Red1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${font Arial:bold:size=10}${color Red1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
/disk $alignc ${fs_used /media/disk} / ${fs_size /media/disk} $alignr ${fs_free_perc /media/disk}%
${fs_bar /media/disk}
/disk-1 $alignc ${fs_used /media/disk-1} / ${fs_size /media/disk-1} $alignr ${fs_free_perc /media/disk-1}%
${fs_bar /media/disk-1}
${font Arial:bold:size=10}${color Red1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
$font${top_mem name 6}${alignr}${top mem 6} %
${font Arial:bold:size=10}${color Red1}NETWORKING ${color DarkSlateGray}${hr 2}
${color DimGrey}$color WLAN0 ${color Red} on $color ${addr wlan0}
${color Red}Link Status ${color Red} on $color ${addr wlan0}
${color Dimgrey}Down:${color Red} ${downspeed wlan0} k/s${color Dimgrey} ${offset 80}Up:${color Red} ${upspeed wlan0} k/s
${color #0000ff}${downspeedgraph wlan0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph wlan0 32,150 0000ff ff0000}
$color
$Rhythmbox
${offset 69}${font $alignr UCm BT:size=10}${exec rhythmbox-client --print-playing-format %tt}
${offset 69}$color0${exec rhythmbox-client --print-playing-format %ta}$font${exec ret}
${exec cp "`conkyRhythmbox --datatype=CA | sed -e 's/\\\//g'`" /media/abbde26b-62ff-428b-ada5-7dd5faee570f/home/Redrum/.album}${image /media/abbde26b-62ff-428b-ada5-7dd5faee570f/home/Redrum/.album -p 0,2 -s 64x64}
${font Arial:bold:size=10}${color Red2}TIME ${color Red}${hr 2}
${color Red} ${font :size=20}$alignc${time %H:%Mh}
${voffset -20}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=8}$alignc${time %A}
${font Goudy Bookletter 1911:style=Bold}WEATHER${font} ${hr 2}
Location: ${execi 3600 conkyForecast --location=SZXX0033 --datatype=CN}
Conditions: ${execi 3600 conkyForecast --location=SZXX0033 --datatype=CC}
${font ConkyWeather:size=36}${execi 3600 conkyForecast --location=SZXX0033 --datatype=WF}${font}
Temp: ${execi 3600 conkyForecast --location=SZXX0033 --datatype=HT}
Extended Forecast
${font ConkyWeather:size=36}${execi 3600 conkyForecast --startday=1 --endday=3 --location=SZXX0033 --datatype=WF}${font}
${execi 3600 conkyForecast --location=SZXX0033 --startday=1 --endday=3 --spaces=15 --datatype=HT}
${execi 3600 conkyForecast --location=SZXX0033 --startday=1 --endday=3 --spaces=5 --datatype=DW}


Here is my script, dude if you can tell me where the problem is hopefully next time i can fix it.
Thanks in advance.

Report

erick2red

7 years ago

Hey, that a extremely cool screenshot, so
U need to tell us which is the icon theme, what panel are you using an so on !!!!!!

Nice shots, really nice.

Report

C

rahulthewall3000

7 years ago

The problem with this is that I am not using gnome. I am using KDE. That is the problem.

I think I made a mistake by posting it here, I should post it on kde-look.org.

If you are interested, the theme is Bespin (icons + appearance), Plasma theme is Tibanna.

Report

sensory

7 years ago

Very nice! Thanks for sharing. :)

Report

C

rahulthewall3000

7 years ago

Thanks. :)

Report

7 years ago

v1.1 - Minor Modifications
- Changed fonts (refer to detailed installation instructions for download location of new fonts)
- Added CPU Temperature
- Changed MPD Now Playing Info to separate title and artist

v1.0 - Initial Release
Bug reports and suggestions are welcome.

product-maker 6 11

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.1
updated Sep 15 2010
added Mar 07 2010
downloads today
0
page views today 2