Conky – A Full Guide

Conky – A Full Guide

Wikis > Conky - A Full Guide

About Conky

Conky is a 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.

Conky is much like making a desktop gadget. It creates a little window, which can be disguised as being transparent. People use Conky to draw various things, often involving computer information such as how much battery on the laptop is remaining or what time it is. It can make for a nice decoration.

This page will give various info on setting up and using Conky.

Installing Conky

The conky-all package has everything you need to get going with Conky.

From Terminal

Open Terminology and run the following commands

sudo apt-get update
sudo apt-get install conky-all

From Synaptic Package Manager

Open the package Manager (Main Menu > Applications > System Tools > Synaptics Package Manager). Search for and install the conky-all package.

Create a Conkey Configuration File

To configure Conky – first, you need to copy the “system wide” configuration to a local copy, which you can then modify Using Terminology, run this command:

cp /etc/conky/conky.conf ~/.conkyrc

You will need to reboot for Conkey to pick up and start using your local configuration file.

sudo reboot

Enable Conky to Start at Boot

Read up on making a personal application launcher, which has general instructions on how to create a .desktop file and then run that file at startup. There’s a specific example (#4) for Conky.

After the launcher has been created, restart the Moksha Desktop. Main Menu > About Operating System > Restart  Moksha.

We are now ready to add the Conky Application Launcher to System Startup.

Main Menu > Settings > Settings Panel. Maximise the settings window, then select: Apps > Startup Application. With the Startup Applications window open, switch to the Applications tab and scroll through the list to find “Conky System Monitor”. highlight and click Add followed by Apply and Close


Conky Transparency

Is your Conky not running with a transparent background?  You can fix that by installing the following module:

sudo apt install moksha-module-comptonmod

After installing the above, you will need to enable the module Compton Mod. To do this, open the Module settings (Main Menu > Settings > Modules) and enable Compton Mod

Compton Mod

Adjusting Config for Transparency

If your Conky configuration is not transparent, you may need to adjust its code to have the following:

own_window yes
own_window_argb_value 0
own_window_argb_visual true
own_window_transparent yes
own_window_type desktop

It is important that other settings do not conflict with these. For instance, a line written as

own_window_argb_visual false

should be removed or commented out with a #.

# own_window_argb_visual false

Removing Drop Shadow

Edit conky.config and add the following:

draw_shades = false

Root Desktop

Conky draws on the root desktop.  If you change the background of the root desktop to match your actual desktop’s background, then it’ll blend in perfectly.

Instructions on this coming soon.

Category: Tags: