Conky configuration

Conky is free software (a desktop widget) which 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.

Since its inception, Conky has changed significantly from its predecessor, while maintaining simplicity and configurability. Conky can display just about anything, either on your root desktop or in its own window. Not only does Conky have many built-in objects, it can also display just about any piece of information by using scripts and other external programs.

Lately I was configuring/designing/modifying a Conky configuration and I decided to share it with others.

SETUP

Go to github repository and get the Conky config files: https://github.com/altinukshini/conky_blue

Note: If your battery is not showing than you are probabbly using another format exc (BAT1 or BAT2) instead of BAT0 which is the default one.
To fix this issue change line 65 in conkyrc file:

from: ${battery_percent}%
to: ${battery_percent BAT1}%

To call this script in Conky, use the following in your conkyrc:

lua_load ~/.fluxbox/conky/conky_blue/clock_rings.lua
lua_draw_hook_pre clock_rings

Because I have used this conky configuration with fluxbox I have put it under .fluxbox folder on my home directory.

1) Create a directory named conky under ~/.fluxbox

2) Paste the conky_blue folder under ~/.fluxbox/conky

3) Copy and paste all fonts from conky_blue/fonts directory to your fonts directory ~/.fonts

4) Change weather location by editing conky_blue/accu_weather/rss/acc_rss

Replace your accuweather rss address in line 94

address="http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|XK|298740|PRISTINA"

5) Install conky:

$ sudo apt-get install conky

6) Start conky with this configuration:

$ conky -c ~/.fluxbox/conky/conky_blue/conkyrc

Changelog:

  • v1.0 –> Original release (30.09.2009)
  • v1.1p –> Jpope edit londonali1010 (05.10.2009)
  • vX 2011mint –> reEdit despot77 (18.02.2011)
  • vX 2012 –> Altin reEdit (22.07.2012)
    • Added weather function (Accu Weather)
    • Added battery monitoring
    • Syslog monitoring
    • Running processes monitoring
    • Rearanged rings
    • Exctra network functions/monitoring
    • Changed Fonts
 

One thought on “Conky configuration

Leave a Reply

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 )

Facebook photo

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

Connecting to %s