Conky system Monitor provides a quick view of Linux process, CPU, Memory, network, and other resource consumption directly on your Linux desktop as a Widget And here are the simple steps to install it on Ubuntu 20.04 or 18.04 LTS Linus systems. The commands given here will also work on previous versions of Ubuntu including Linux Mint, Elementary, MX Linux, Debian, and other similar distros. To install from PPA, type the following commands one by one in a terminal window: sudo apt-add-repository -y ppa:teejee2008/ppa sudo apt-get update sudo apt-get install conky-manager Updates will be installed automatically if you have enabled automatic updates enabled on your system. Install conky on Ubuntu: 1.Open Terminal.To open terminal press Ctrl+Alt+t. It will open the terminal app. In the terminal, type the below command in terminal and hit enter. Sudo apt-get update. If needed type your Ubuntu password. Then run the below code in terminal to install conky. Sudo apt-get install conky. The standard view conky provides is less interesting (in my opinion), so, to make editing easier, you can download Conky Manager developed by Tony George on this website! When trying to install Conky Manager on ubuntu 18.04, I get a lot of problems, Here is a problem I get when installing conky manager.
Contents
|
Discussion of this wiki can be found here
This guide will step you through initial installation and configuration of Conky for Ubuntu. Conky is extremely configurable; there are virtually unlimited ways of configuring it. The nuances of advanced conky configuration are beyond the scope of this article, but many resources exist online regarding this subject. A few are given here for anyone interested:
.conkyrc Settings
Conky Variables
Conky Manual
Installation
First, let's define the various aspects of conky.
CONKY - Conky is a system monitor for X originally based on the torsmo code.
Since its original conception, Conky has changed a fair bit from its predecessor. Conky can display just about anything, either on your root desktop or in its own window. Conky has many built-in objects, as well as the ability to execute programs and scripts, then display the output from stdout.
First, you need the file 'conky' and I'd suggest you look at curl, lm-sensors and hddtemp as well, described below. You may as well get them now, I'll bet you will in the future if you don't:
CURL - Get a file from an HTTP, HTTPS or FTP server
Conky Manager
curl is a client to get files from servers using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity.
curl offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post, file transfer resume and more.
LM-SENSORS - utilities to read temperature/voltage/fan sensors
Lm-sensors is a hardware health monitoring package for Linux. It allows you to access information from temperature, voltage, and fan speed sensors. It works with most newer systems.
This package contains programs to help you set up and read data from lm-sensors.
Homepage
HDDTEMP - hard drive temperature monitoring utility
The hddtemp program monitors and reports the temperature of PATA, SATA or SCSI hard drives by reading Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) information on drives that support this feature.
If you want all four, it's easy:
Running & Configuration
To run conky, open a terminal and type:
and you'll see a little window open and display a basic conky. That's the default conky configuration. The file can be found in /etc/conky/conky.conf.
Conky Manager For Linux Mint
However, you likely want it on your desktop all the time and customized for your system, not in a pop-up window. This can be done by creating and editing a file in your home directory called .conkyrc. Create an empty file in your home folder and name it .conkyrc. The period at the beginning of the filename sets it to hidden, so to view the file in your file manager you must enable viewing hidden files/folders. In most file managers you can activate this by pressing Ctrl+h. It is usually best to start with an existing .conkyrc file and edit to suit your tastes. You can copy the contents of /etc/conky/conky.conf into the new .conkyrc and edit that, or you can find a config file on the web and use it. Regardless, paste the contents of the existing conky file into the new .conkyrc and save.
Conky is very popular and .conkyrc files are available all over the web. One good place to start would be this thread in the Ubuntu forums.
Now restart conky by running
It will now be using your new .conkyrc file.
Set Conky To Start At Boot
Conky only becomes useful when it is set to start up at boot. Here's how in Ubuntu and the various respins.
In Ubuntu/Unity:
Click the gear icon in the upper right hand corner of the top panel. Select Startup Applications. Click Add. In the resulting dialog box give the name as 'Conky' and the command as conky. Click add and close.
In Ubuntu/Gnome Shell
Press Alt+F2 to bring up the Run dialog. Type gnome-session-properties. Click the 'Add' button. In the resulting dialog box give the name as 'Conky' and the command as conky. Click add and close.
In Kubuntu
Go to K-Menu>Computer>System Settings. Select Startup and Shutdown and click the Add Program button. Type conky and click OK.
In Lubuntu
Run the following commands in a terminal:
Add this line to the autostart file:
Save and close.
In Xubuntu
In the Applications menu open Settings Manager and select Session and Startup. On the Application Autostart tab click the Add button. In the resulting dialog box give the name as 'Conky' and the command as conky.
Running Multiple Conky
You may wish to run multiple instances of Conky on your desktop. You could be running a system info Conky on the left side of your desktop and a weather Conky along the bottom; the options are nearly infinite.
First you need to be sure your Conky are aligned on the desktop differently, so they don't overlap each other. You can specify the alignment of a Conky in the .conkyrc file by changing the line beginning with 'alignment'. The syntax is as follows:
How To Use Conky
To set multiple Conky to run at startup, create a folder called .conky.
Save your different Conky config files in there. You may want to name them .conkyrc_top, .conkyrc_bottom, etc. You should save all your Conky config files there. Next create a script that will execute all these Conky files. Something like the following:
Install Conky On Raspberry Pi
Note that all commands except the last must be appended with an ampersand (&) so that the script will not stop at the first command.
The 'conky -c random_file' command simply tells conky to use random_file for configuration instead of the default ~/.conkyrc. Save this file as conky_start in ~/bin; if the folder does not already exist, create it.
Install Conky On Ubuntu
Install Conky On Arch
Next set it to exectuable:
Now follow the instructions given above on autostarting, only substitute 'conky_start' for 'conky'. NOTE: In Kubuntu, you must choose 'Add Script' rather than 'Add Program'.
If you've already set 'conky' to launch at startup, you must remove it when adding 'conky_start'. Although this will get you started with a functioning Conky, this is only the beginning. Enjoy configuring it to your liking, and feel free to share your config files!
Originally posted The Ubuntu Forums ubuntuforums.org