
{"id":6838,"date":"2017-05-31T17:11:47","date_gmt":"2017-05-31T17:11:47","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6838"},"modified":"2017-05-31T17:11:47","modified_gmt":"2017-05-31T17:11:47","slug":"install-setup-harmattan-conky-theme-in-ubuntu-desktop","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2017\/05\/install-setup-harmattan-conky-theme-in-ubuntu-desktop\/","title":{"rendered":"Install &#038; Setup Harmattan Conky Theme in Ubuntu Desktop"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/06\/ubuntu-logo-245.png\" alt=\"ubuntu 17.04\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-5952\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/zagortenay333\/Harmattan\">Harmattan<\/a> is a set of conky themes that display a desktop widget on Ubuntu desktop with information of <i>date and time<\/i>, <i>weather forecast<\/i>, <i>network speed<\/i>, and <i>system resource usage<\/i>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-harmattan.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-harmattan-600x305.jpg\" alt=\"conky themes\" width=\"600\" height=\"305\" class=\"aligncenter size-large wp-image-6839\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-harmattan-600x305.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-harmattan-450x229.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-harmattan-768x390.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-harmattan.jpg 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>For those who want to try this conky theme, here&#8217;s a step by step how to setup guide:<\/p>\n<p><b>1.<\/b> First of all, open terminal (Ctrl+Alt+T) and install conky if you don&#8217;t have it via command:<\/p>\n<pre style=\"border:none;\">sudo apt install conky-all<\/pre>\n<p><b>2.<\/b> Download the conky theme via the link below:<\/p>\n<p style=\"text-align:center;\"><a href='https:\/\/github.com\/zagortenay333\/Harmattan\/archive\/master.zip' class='arconix-button arconix-button-large arconix-button-gray'>Download Harmattan Master<\/a><\/p>\n<p><b>3.<\/b> Extract the tarball, go into result folder and move the <b>.harmattan-assets<\/b> folder (press <b>Ctrl+H<\/b> to view hidden folders) to user&#8217;s home directory.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/move-to-user-home.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/move-to-user-home-600x341.jpg\" alt=\"move to user home\" width=\"600\" height=\"341\" class=\"aligncenter size-large wp-image-6842\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/move-to-user-home-600x341.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/move-to-user-home-450x255.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/move-to-user-home-768x436.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/move-to-user-home.jpg 1159w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Then open the result folder in terminal:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/open-harmattan-terminaljpg.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/open-harmattan-terminaljpg-600x288.jpg\" alt=\"\" width=\"600\" height=\"288\" class=\"aligncenter size-large wp-image-6840\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/open-harmattan-terminaljpg-600x288.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/open-harmattan-terminaljpg-450x216.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/open-harmattan-terminaljpg-768x369.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/open-harmattan-terminaljpg.jpg 878w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>4.<\/b> When the terminal opens, run the <b>preview.sh<\/b> script via command:<\/p>\n<pre style=\"border:none;\">.\/preview.sh<\/pre>\n<p>You&#8217;ll see a desktop conky widget, now you can do:<\/p>\n<ul>\n<li>press <b>h<\/b> or <b>l<\/b> to switch themes.<\/li>\n<li>Press <b>j<\/b> or <b>k<\/b> to change formats.<\/li>\n<li>Press <b>n<\/b> or <b>m<\/b> to switch modes.<\/li>\n<\/ul>\n<p>After selected your favorite theme, press <b>i<\/b> in terminal to setup <a href=\"https:\/\/openweathermap.org\/appid\" target=\"_blank\">OpenWeatherMp API<\/a> and your City ID.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-preview.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-preview-600x243.jpg\" alt=\"\" width=\"600\" height=\"243\" class=\"aligncenter size-large wp-image-6841\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-preview-600x243.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-preview-450x182.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conky-preview.jpg 741w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>5.<\/b> Finally open terminal (Ctrl+Alt+T) and run command to edit the <b>.conkyrc<\/b> file:<\/p>\n<pre style=\"border:none;\">gedit ~\/.conkyrc<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conkyrc-config.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conkyrc-config-600x316.jpg\" alt=\"\" width=\"600\" height=\"316\" class=\"aligncenter size-large wp-image-6843\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conkyrc-config-600x316.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conkyrc-config-450x237.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conkyrc-config-768x405.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/conkyrc-config.jpg 814w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>When the file opens, do:<\/p>\n<ul>\n<li>Change <code>window_type=<\/code> to <code>\"override\"<\/code> to remove widget border.<\/li>\n<li>Change the value of <code>gap_x<\/code> and <code>gap_y<\/code> to move widget location.<\/li>\n<\/ul>\n<p>For the network connection issue, find your device name via command:<\/p>\n<pre style=\"border:None;\">ifconfig<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/ifconfig.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/ifconfig-600x286.jpg\" alt=\"\" width=\"600\" height=\"286\" class=\"aligncenter size-large wp-image-6844\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/ifconfig-600x286.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/ifconfig-450x214.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/ifconfig.jpg 746w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>In my case it&#8217;s <b>enp2s0<\/b>, so in the .conkyrc file replace all <code>enp0s1<\/code> with <code>enp2s0<\/code> (use Search -> Find and Replace &#8230; menu).<\/p>\n<p>Finally save the file and enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>Harmattan is a set of conky themes that display a desktop widget on Ubuntu desktop with information of date and time, weather forecast, network speed, and system resource usage. For those who want to try this conky theme, here&#8217;s a step by step how to setup guide: 1. First of all, open terminal (Ctrl+Alt+T) and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[42,1454],"class_list":["post-6838","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-conky","tag-desktop-widget"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=6838"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6838\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}