This is a second post about configuring my conky setup, yesterday I have posted a script displaying latest tweets from your Twitter account, today I will continue this topic today.
This machine is running Ubuntu 11.10 with Gnome classic desktop, compiz enabled and cairo dock installed.
For this setup I decided I will need the following features:
- lua with cairo
These features will be useful in later stages:
In my case I had few packages missing which were cairo-dock-dev, libiw-dev, libiw-dev and libtolua++5.1-dev.
After making sure you have all the libraries to compile conky you can download conky source, untar it into a temporary directory and run the following command:
./configure --prefix=/opt/conky --enable-xmms2 --disable-mpd --enable-nvidia --enable-weather-metar --enable-curl --enable-rss --enable-wlan --enable-lua --enable-lua-cairo --enable-lua-imlib2
A list of all features you can enable during compilation you can find issuing ./configure –help.
In case of any errors you should download missing package which name you will find in the error message.
When everything goes right you will see the following output:
* X11: X11 support: yes XDamage support: yes XDBE support: yes Xft support: yes ARGB support yes * Music detection: Audacious: no BMPx: no MPD: no MOC: yes XMMS2: yes * General: math: yes hddtemp: yes portmon: yes RSS: yes Curl: yes Weather METAR: yes XOAP: no wireless: yes IBM: no nvidia: yes eve-online: no config-output: yes Imlib2: yes ALSA mixer: no apcupsd: yes I/O stats: yes ncurses: yes * Lua (yes) bindings: Cairo: yes Imlib2: yes
This means you are almost done. Now do sudo make && sudo make install to install conky and try it typing conky in terminal.
In the next posts I will focus on conky scripts I used and how to embed gnome terminal in your desktop, stay tuned!