{"id":13891,"date":"2019-04-06T13:49:32","date_gmt":"2019-04-06T13:49:32","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13891"},"modified":"2019-04-06T13:49:32","modified_gmt":"2019-04-06T13:49:32","slug":"conky-the-ultimate-x-based-system-monitor-application","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/06\/conky-the-ultimate-x-based-system-monitor-application\/","title":{"rendered":"Conky \u2013 The Ultimate X Based System Monitor Application"},"content":{"rendered":"<p>Conky is a system monitor application written in \u2018C\u2019 Programming Language and released under GNU General Public License and BSD License. It is available for Linux and BSD Operating System. The application is X (GUI) based that was originally forked from\u00a0<a href=\"http:\/\/torsmo.sourceforge.net\/\" target=\"_blank\" rel=\"nofollow noopener\">Torsmo<\/a>.<\/p>\n<h4>Features<\/h4>\n<ol>\n<li>Simple User Interface<\/li>\n<li>Higher Degree of configuration<\/li>\n<li>It can show System stats using built-in objects (<strong>300+<\/strong>) as well as external scripts either on the desktop or in it\u2019s own container.<\/li>\n<li>Low on Resource Utilization<\/li>\n<li>Shows system stats for a wide range of system variables which includes but not restricted to CPU, memory, swap, Temperature, Processes, Disk, Network, Battery, email, System messages, Music player, weather, breaking news, updates and blah..blah..blah<\/li>\n<li>Available in Default installation of OS like CrunchBang Linux and Pinguy OS.<\/li>\n<\/ol>\n<h5>Lesser Known Facts about Conky<\/h5>\n<ol>\n<li>The Name conky was derived from a Canadian Television Show.<\/li>\n<li>It has already been ported to Nokia N900.<\/li>\n<li>It is no more maintained officially.<\/li>\n<\/ol>\n<h3>Conky Installation and Usage in Linux<\/h3>\n<p>Before we install\u00a0<strong>conky<\/strong>, we need to install packages like\u00a0<strong>lm-sensors<\/strong>,\u00a0<strong>curl<\/strong>\u00a0and\u00a0<strong>hddtemp<\/strong>\u00a0using following command.<\/p>\n<pre># apt-get install lm-sensors curl hddtemp\r\n<\/pre>\n<p>Time to detect-sensors.<\/p>\n<pre># sensors-detect\r\n<\/pre>\n<p><strong>Note<\/strong>: Answer \u2018<strong>Yes<\/strong>\u2018 when prompted!<\/p>\n<p>Check all the detected sensors.<\/p>\n<pre># sensors\r\n<\/pre>\n<h5>Sample Output<\/h5>\n<pre>acpitz-virtual-0\r\nAdapter: Virtual device\r\ntemp1:        +49.5\u00b0C  (crit = +99.0\u00b0C)\r\n\r\ncoretemp-isa-0000\r\nAdapter: ISA adapter\r\nPhysical id 0:  +49.0\u00b0C  (high = +100.0\u00b0C, crit = +100.0\u00b0C)\r\nCore 0:         +49.0\u00b0C  (high = +100.0\u00b0C, crit = +100.0\u00b0C)\r\nCore 1:         +49.0\u00b0C  (high = +100.0\u00b0C, crit = +100.0\u00b0C)\r\n<\/pre>\n<p>Conky can be installed from repo as well as, can be compiled from source.<\/p>\n<pre># yum install conky              [On RedHat systems]\r\n# apt-get install conky-all      [On Debian systems]\r\n<\/pre>\n<p><strong>Note<\/strong>: Before you install conky on Fedora\/CentOS, you must have enabled\u00a0<a href=\"https:\/\/www.tecmint.com\/how-to-enable-epel-repository-for-rhel-centos-6-5\/\" target=\"_blank\" rel=\"noopener\">EPEL repository<\/a>.<\/p>\n<p>After conky has been installed, just issue following command to start it.<\/p>\n<pre>$ conky &amp;\r\n<\/pre>\n<div id=\"attachment_12207\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Start-Conkey.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12207\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Start-Conkey-620x423.jpeg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Start-Conkey-620x423.jpeg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Start-Conkey.jpeg 738w\" alt=\"Conky Monitor Window\" width=\"620\" height=\"423\" aria-describedby=\"caption-attachment-12207\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-12207\" class=\"wp-caption-text\">Conky Monitor in Action<\/p>\n<\/div>\n<p>It will run conky in a popup like window. It uses the basic conky configuration file located at\u00a0<strong>\/etc\/conky\/conky.conf<\/strong>.<\/p>\n<p>You may need to integrate conky with the desktop and won\u2019t like a popup like window every-time. Here is what you need to do<\/p>\n<p>Copy the configuration file\u00a0<strong>\/etc\/conky\/conky.conf<\/strong>\u00a0to your home directory and rename it as \u2018<code>.conkyrc<\/code>\u2018. The dot (<strong>.<\/strong>) at the beginning ensures that the configuration file is hidden.<\/p>\n<pre>$ cp \/etc\/conky\/conky.conf \/home\/$USER\/.conkyrc\r\n<\/pre>\n<p>Now restart conky to take new changes.<\/p>\n<pre>$ killall -SIGUSR1 conky\r\n<\/pre>\n<div id=\"attachment_12208\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Restart-Conky.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12208\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Restart-Conky-620x421.jpeg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Restart-Conky-620x421.jpeg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Restart-Conky.jpeg 741w\" alt=\"Conky Monitor Window\" width=\"620\" height=\"421\" aria-describedby=\"caption-attachment-12208\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-12208\" class=\"wp-caption-text\">Conky Monitor Window<\/p>\n<\/div>\n<p>You may edit the conky configuration file located in your home dircetory. The configuration file is very easy to understand.<\/p>\n<p>Here is a sample configuration of conky.<\/p>\n<div id=\"attachment_12209\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Configuration.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12209\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Configuration-592x450.jpeg\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Configuration-592x450.jpeg 592w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Configuration.jpeg 854w\" alt=\"Conky Configuration\" width=\"592\" height=\"450\" aria-describedby=\"caption-attachment-12209\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-12209\" class=\"wp-caption-text\">Conky Configuration<\/p>\n<\/div>\n<p>From the above window you can modify color, borders, size, scale, background, alignment and several other properties. By setting different alignments to different conky window, we can run more than one conky script at a time.<\/p>\n<h6>Using script other than the default for conky and where to find it?<\/h6>\n<p>You may write your own conky script or use one that is available over Internet. We don\u2019t suggest you to use any script you find on the web which can be potentially dangerous unless you know what you are doing. However a few famous threads and pages have conky script that you can trust as mentioned below.<\/p>\n<p><a href=\"https:\/\/ubuntuforums.org\/showthread.php?t=281865\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/ubuntuforums.org\/showthread.php?t=281865<\/a><br \/>\n<a href=\"http:\/\/conky.sourceforge.net\/screenshots.html\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/conky.sourceforge.net\/screenshots.html<\/a><\/p>\n<p>At the above url, you will find every screenshot has a hyperlink, which will redirects to script file.<\/p>\n<h5>Testing Conky Script<\/h5>\n<p>Here I will be running a third party written\u00a0<strong>conky-script<\/strong>\u00a0on my Debian Jessie Machine, to test.<\/p>\n<pre>$ wget https:\/\/github.com\/alexbel\/conky\/archive\/master.zip\r\n$ unzip master.zip \r\n<\/pre>\n<p>Change current working directory to just extracted directory.<\/p>\n<pre>$ cd conky-master\r\n<\/pre>\n<p>Rename the\u00a0<strong>secrets.yml.example<\/strong>\u00a0to\u00a0<strong>secrets.yml<\/strong>.<\/p>\n<pre>$ mv secrets.yml.example secrets.yml\r\n<\/pre>\n<p>Install Ruby before you could run this (ruby) script.<\/p>\n<pre>$ sudo apt-get install ruby\r\n$ ruby starter.rb \r\n<\/pre>\n<div id=\"attachment_12210\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Fancy-Look.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12210\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Fancy-Look-620x349.jpeg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Fancy-Look-620x349.jpeg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Fancy-Look-1024x576.jpeg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/03\/Conky-Fancy-Look.jpeg 1366w\" alt=\"Conky Fancy Look\" width=\"620\" height=\"349\" aria-describedby=\"caption-attachment-12210\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-12210\" class=\"wp-caption-text\">Conky Fancy Look<\/p>\n<\/div>\n<p><strong>Note<\/strong>: This script can be modified to show your current weather, temperature, etc.<\/p>\n<p>If you want to start conky at boot, add the below one liner to startup Applications.<\/p>\n<pre>conky --pause 10 \r\nsave and exit.\r\n<\/pre>\n<p>And Finally\u2026such a lightweight and useful GUI eye candy like package is not in active stage and is not maintained officially anymore. The last stable release was\u00a0<strong>conky 1.9.0<\/strong>\u00a0released on\u00a0<strong>May 03, 2012<\/strong>. A thread on Ubuntu forum has gone over 2k pages of users sharing configuration. (link to forum :\u00a0<a href=\"https:\/\/ubuntuforums.org\/showthread.php?t=281865\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/ubuntuforums.org\/showthread.php?t=281865\/<\/a>)<\/p>\n<p><a href=\"http:\/\/conky.sourceforge.net\/\" target=\"_blank\" rel=\"nofollow noopener\">Conky Homepage<\/a><\/p>\n<p>That\u2019s all for now. Keep connected. Keep commenting. Share your thoughts and configuration in comments below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-conky-in-ubuntu-debian-fedora\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conky is a system monitor application written in \u2018C\u2019 Programming Language and released under GNU General Public License and BSD License. It is available for Linux and BSD Operating System. The application is X (GUI) based that was originally forked from\u00a0Torsmo. Features Simple User Interface Higher Degree of configuration It can show System stats using &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/06\/conky-the-ultimate-x-based-system-monitor-application\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Conky \u2013 The Ultimate X Based System Monitor Application&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13891","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13891"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13891\/revisions"}],"predecessor-version":[{"id":13892,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13891\/revisions\/13892"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}