Install & Configure Conky in Xubuntu 12.04

Posted: October 15, 2012 in Linux / Redhat, Technology
Tags: , , ,

Conky:

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.

Step 1: Installing Conky in Xubuntu 12.04

Open up the “Terminal” and type the following commands:

$ sudo add-apt-repository ppa:conkyhardcore/ppa

$ sudo apt-get update

$ sudo apt-get install conky-all

Step 2: Create config file

Create a file named “.conkyrc” in your home folder. This will be your config file where you will insert your configuration details later. To do this, use the following command in the terminal :

$ sudo touch ~/.conkyrc

$ sudo chmod +x ~/.conkyrc

Now you can either search in Google for sample conkyrc config files and copy them to your ~/.conkyrc file or you can download the following sample :

Sample Conky Config : Download Link

Now, open the ~/.conkyrc file and paste the contents of the above sample conky to it and save the ~/.conky file.

You can use gedit to open the ~/.conkyrc file using the following command:

$ sudo gedit ~/.conkyrc

 
Step 3: Start Conky

To start conky, open your terminal and type :

$ sudo conky

You should now see the conky window on the your desktop screen.

Step 4 : Add conky to startup

Create a file named say “conkystartup.sh” in home folder and make it executable by using the commands:

$ sudo touch ~/conkystartup.sh

$ sudo chmod +x ~/conkystartup.sh

Now, open “conkystartup.sh” file using the following command:

$ sudo gedit ~/conkystart.sh

 
Now, paste the following code into the “conkystart.sh” file:

#!/bin/bash
sleep 30 && conky ;

Save the file and exit.

To add to startup, Go to Menu>Settings>Session & Startup

Press “Add” , set name as “Conky” and set “Location” as the location of “conkystart.sh“.

This will make conky to run at startup after a delay of 30 seconds (so that conky gets loaded after the desktop is loaded).

Screenshot of My Xubuntu + Conky :

If you have any sort of queries on regarding this installation, just leave a comment and will get back at you. Don’t forget to follow my blog to get future updates!😀

ΞXΤЯ3МΞ

Comments
  1. […] Install & Configure Conky in Xubuntu 12.04 (extr3metech.wordpress.com) […]

  2. François says:

    Thank you very much for this, very useful for me to begin with conky.
    That was exactly, what I was looking for : the simpliest way to install conky,
    in order to be able to understand it.

    Maybe a little thing (for beginners like me),
    by following theses instruction :
    “Now, open “conkystartup.sh” file using the following command: $ sudo gedit ~/conkystart.sh (instead of “conkystartup.sh)

    So I had 2 files to add to startup : conkystart.sh & conkystartup.sh and it didn’t work.

    I also deleted the file conkystart.sh and wrote your code (#!/bin/bash sleep 30 && conky) in the conkystartup.sh file.

    THX🙂

  3. fred says:

    Thank you very much.

  4. conorjh says:

    I get:

    (precise)conorjh@localhost:~$ sudo apt-get install conky
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package conky is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘conky’ has no installation candidate

    Any suggestions?

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 )

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