Conky Logo

conky

I’ve been testing out some Linux distros to replace Ubuntu and started playing with conky. This is my setup; yes, I know it’s basic but it works and I prefer to keep things minimal.

What is Conky

Conky is free software and runs in X on Linux and BSD. Originally a fork of Torsmo, Conky’s torsmo-based code is BSD licensed. New code in Conky has been licensed under the GPL 3.0. It is a program which can display arbitrary information (such as the date, CPU temperature from i2c, MPD info, and anything else you desire) to the root window in X11.

Here is my setup

#################################################################
# Check http://conky.sf.net for an up-to-date-list of variables.
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#################################################################
# Settings
#################################################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 0.5
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 12
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
S Y S T E M    I N F O
${hr}
Host:$alignr$nodename
Kernel: $alignr$kernel
Uptime:$alignr$uptime
Load:$alignr$loadavg


R A M    U S A G E
${hr}
RAM:$alignr$mem / $memmax
$memperc %
$membar
Swap usage:$alignr$swap / $swapmax
$swapperc %
$swapbar


D I S K    U S A G E
${hr}
Disk usage:$alignr${fs_used /} / ${fs_size /}


C P U    U S A G E
${hr}
CPU 0:$alignr${cpu cpu0} %
$cpubar
CPU 1:$alignr${cpu cpu1} %
$cpubar


C P U    T E M P
${hr}
CPU 0:$alignr${execi 2 sensors | grep 'Core 0' | sed -e 's/.* +//' | sed -e 's/.0°C.*//'} °C
CPU 1:$alignr${execi 2 sensors | grep 'Core 1' | sed -e 's/.* +//' | sed -e 's/.0°C.*//'} °C


N E T W O R K I N G
${hr}
IP address: $alignr ${addr eth0}


Download:
${downspeed eth0} $alignr total: ${totaldown eth0}
${downspeedgraph eth0}

Upload:
${upspeed eth0} $alignr total: ${totalup eth0}
${upspeedgraph eth0}


T O P    P R O C E S S E S
${hr}
${color #FF5555}${top_mem name 1}${alignr}${top mem 1} %
${color #FFaa55}${top_mem name 2}${alignr}${top mem 2} %
${color #FFff55}${top_mem name 3}${alignr}${top mem 3} %

If you want to try it you can install conky and play around. A Google search turns up tons of great tutorials or you can head to deviantart to find some sweet setups too.

Installing on common Distros

Debian/Ubuntu

sudo apt-get install conky

Gentoo

Have no fear, Conky is in portage. You can install it with:
emerge app-admin/conky

or, using Paludis:
paludis -i app-admin/conky

Arch

Conky is available in pacman:
pacman -S conky

FreeBSD

Conky is avaible in FreeBSD ports, check FreshPorts for details.

Foresight

For Foresight Linux or any other rPath-based distro:
conary update conky=cookingwithroids.rpath.org@cwr:all

You will also need to install hddtemp, lm-sensors and acpi

Here is what mine looks like:

My Conky

Advertisements

One thought on “conky”

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s