Archives For November 30, 1999

ubuntu 17.04

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.

conky themes

For those who want to try this conky theme, here’s a step by step how to setup guide:

1. First of all, open terminal (Ctrl+Alt+T) and install conky if you don’t have it via command:

sudo apt install conky-all

2. Download the conky theme via the link below:

Download Harmattan Master

3. Extract the tarball, go into result folder and move the .harmattan-assets folder (press Ctrl+H to view hidden folders) to user’s home directory.

move to user home

Then open the result folder in terminal:

4. When the terminal opens, run the preview.sh script via command:

./preview.sh

You’ll see a desktop conky widget, now you can do:

  • press h or l to switch themes.
  • Press j or k to change formats.
  • Press n or m to switch modes.

After selected your favorite theme, press i in terminal to setup OpenWeatherMp API and your City ID.

5. Finally open terminal (Ctrl+Alt+T) and run command to edit the .conkyrc file:

gedit ~/.conkyrc

When the file opens, do:

  • Change window_type= to "override" to remove widget border.
  • Change the value of gap_x and gap_y to move widget location.

For the network connection issue, find your device name via command:

ifconfig

In my case it’s enp2s0, so in the .conkyrc file replace all enp0s1 with enp2s0 (use Search -> Find and Replace … menu).

Finally save the file and enjoy!

Weather widget

Flair Weather is a nice clean conky widget for Linux that shows time, date, and weather information on your desktop.

The conky theme contains both white and black version:

Flair Weather Conky White

Flair Weather Conky White

Flair Weather Conky Black

Thanks to speedracker, Kelly Kretchek, and zagortenay333, you can install this theme on your desktop by below steps.

1. Install curl and Conky Manager, a graphical tool to manage conky themes.

Open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard. When it opens, run commands below one by one to install it from PPA:

sudo add-apt-repository -y ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install conky-manager curl

If you don’t want to add PPA, grab the .deb installer directly from the launchpad page.

2. Download Flair Weather Conky from the right pane of deviantart.com.

3. Open the downloaded package via Archive Manager and extract it to your user Home folder, so you’ll see the result folder Flair_Weather under user’s Home -> .conky (press Ctrl+H to see hidden folders).

Conky Folder

4. Start/restart Conky Manager. You should be able to start Flair Weather White or Black theme from the list.

5. Now let’s setup your weather location. Since the theme uses Yahoo! Weather, go to weather.yahoo.com, search your city (and select from drop-down prompts), finally write down the id in the url.

Yahoo Weather city id

6. Set the weather location for your city by doing below steps:

  1. In conky manager, highlight the Flair Weather widget.
  2. Click the pencil icon to edit the theme file in text editor.
  3. Replace the location id.

Setup Conky Weather Location

Finally configure the widget size, location, transparency, time format, auto-start, etc in the widget settings and app preferences window.

conky-settings

All done. Enjoy!