“Conky is a free, light-weight system monitor for X, that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD.” – from the conky website.
I had to upgrade my old post on how to compile conky, since conky’s development team deprecated autogen and switched to cmake.

I will just show you very quickly how to compile conky. First start an terminal, and copy this in, one line at a time:

sudo aptitude install git-core cmake
cd ~
git clone git://git.omp.am/conky.git
cd conky
mkdir build
cd build
cmake ../

This will build conky with the standard set of features. To change the set of features conky will have, you need to install yet another tool[1]:

sudo aptitude install cmake-curses-gui
cd ~/conky/build
ccmake ../

This is what it should look like:
Using ccmake to configure conky build options

Now you configure conky to fit your needs. You move the cursor up and down on the arrow keys, and changes options with the enter key. When you’re done, you press the ‘c’ key to write the configuration. If somethings fails, for instance if you don’t have the required development libraries, you will be informed. Press ‘q’ to exit the configuration utility.

If some development libraries were needed to compile conky, install them and run cmake again. For example, if you configure conky to use the curl extension, you should install the curl development libraries and run cmake again, like this:
apt-get libcurl4-dev
cmake ../

If everything worked, type make; sudo make install

1: I am NOT experienced with cmake! If you can adjust build options on the commandline, please inform me. :-)

Related posts:

Tags: , , , ,

2 Comments to “Compiling conky from git in ubuntu 9.10”

  1. Garo says:

    I’m one of the conky developers and have a few comments:

    - cmake ../build should be replaced by cd build ; cmake ..

    - git clone git://git.omp.am/conky.git will install the ‘master’ branch of conky which is the branch where all the development happens, so this will not always be stable.
    If you want the stable branch (at the moment this is 1.8.0) do a git checkout origin/1.8.0 -b my_stable_branch after the clone.

  2. Hi Garo. Thank you for your corrections.

    Your tips are now passed on to the readers. :-)

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.