Conky in Hardy Heron 8.04

June 4, 2008 at 1:39 am (3d, AMD, CLI, Hardy Heron, IDE, IDE cable, RAM, add-on, administration, administrator, asrock k7vm3, boot, compiz, compiz-fusion, computers, conky, coordination, cpu, cpu temp, cube, customize, desktop, desktop effects, entertainment, error, ext3, eyecandy, fix, free, hard disk temperature, hard drive, linux, lm sensors, maintenance, management, mods, network, online, operating system, pc, plugin, programs, sempron, slave drive, stress test, sudo, syntax, system, temperature, temperature monitor, ubuntu, upgrade, watch, wattage, xsensors)

I’ve added new stuff on my Conky setup that was already up and running. I have a post somewhere around here about setting it up after I did a clean install of Hardy. I was browsing through the Community Cafe in Ubuntu Forums when I came across a conky screenshot with a different look. Links were provided to the how-to of this version and it wasn’t too hard to customize to my own liking. Although mine looks a lil over the top, don’t worry I’m attaching a screenshot so you can see for yourself. Further down, I will include the links of the pages that helped heaps. Let me first share the steps I took to make my conky more than just letters and numbers.

1) Download fonts/icons and extract the contents. The fonts needed are located here:

2) Open a terminal and enter “gksu nautilus” so you can read/write anything. Then copy the *.ttf files to /usr/share/fonts/truetype folder.
3) Edit your conky settings to your liking, save and run it again.

Here are the links to the very helpful pages I used:

Screenshot:
Conky with icons in Linux Ubuntu Hardy Heron 8.04

My Conky code:

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 1.0
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 200 5
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
$sysname $kernel on $machine
${font StyleBats:size=18}P${font} Uptime $alignr $uptime
${font StyleBats:size=18}X${font} Load $alignr $loadavg
${font StyleBats:size=18}V${font} Public IP $alignr ${color}${execi 14400 wget -O – http://whatismyip.org/ | tail}${color}
${font StyleBats:size=18}T${font} $processes processes ($running_processes running)

${font PizzaDude Bullets:size=16}N${font} ${color white}Highest CPU:
${color de0b0b}${top name 1}${top_mem cpu 1}
${color white}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}
${font PizzaDude Bullets:size=16}O${font} ${color white}Highest MEM:
${color de0b0b}${top_mem name 1}${top_mem mem 1}
${color white}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}

${font StyleBats:size=18}A${font} CPU $alignr ${cpu cpu0}%
${cpubar cpu0}

${font PizzaDude Bullets:size=16}J${font} MEM $alignc $mem / $memmax $alignr $memperc%
$membar

${font StyleBats:size=18}F${font} /root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

${font StyleBats:size=18}G${font} /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

${font StyleBats:size=18}B${font} swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
${font weather:size=28}z${font} M/B CPU $alignr ${hwmon temp 1}C ${hwmon temp 2}C
${font weather:size=28}y${font} hdd LINUX $alignr /dev/hdb ${execi 300 nc localhost 7634 | cut -c53-54 ;}C
${font weather:size=28}x${font} hdd XP $alignr /dev/hda ${execi 300 nc localhost 7634 | cut -c27-28 ;}C

${color}Networking:
${font PizzaDude Bullets:size=16}r${font} Down:${color} $alignr ${downspeed eth0} k/s${color} ${offset 80}
${font PizzaDude Bullets:size=16}v${font} Up:${color} $alignr ${upspeed eth0} k/s ${offset 80}

2 Comments

  1. FilledVoid said,

    Cool Conky configuration :) .

  2. free truetype fonts said,

    [...] of Hardy. I was browsing through the Community Cafe in Ubuntu Forums when I came across a conkyhttp://vness.wordpress.com/2008/06/04/conky-in-hardy-heron-804/Font Checksum (Java) DownloadFont Checksum (Java) DownloadFontChecksum is a Java 1.4 application to [...]

Post a Comment