In this article we are going to learn How to install Simple Weather Indicator application in Ubuntu 16.04. It’s an open source simple light weight Desktop Weather Widget capable of show you the current location name/details, Smoke, Maximum Temperature, Minimum Temperature, Humidity, Wind, Cloudiness, Pressure, Visibility and so on. You can use refresh option to see the immediate changes of the temperature or other weather details. Simple Weather indicator package mainly created for Unity and Gnome based desktop environment written using Python programming language and available for both 64 bit and 32 bit operating systems.
Follow the below steps to install Simple Weather Indicator application in Ubuntu 16.04 – A Desktop Weather Widget for Linux
We are going to install the Simple Weather Indicator package through PPA repository. Hence before start the installation let’s install the official PPA repository using below command.
[email protected]:~$ sudo add-apt-repository ppa:kasra-mp/ubuntu-indicator-weather # Install PPA Repository [sudo] password for elinuxbook: Simple weather indicator is a simple indicator to get weather temperature automatically. It calls two web services to detect location and gets weather temperature. Then it displays in the small indicator for users. Weather updates every ten minutes and it requires the Internet connection. More info: https://launchpad.net/~kasra-mp/+archive/ubuntu/ubuntu-indicator-weather Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmp8xrlxgw3/secring.gpg' created gpg: keyring `/tmp/tmp8xrlxgw3/pubring.gpg' created gpg: requesting key B8FEAE9A from hkp server keyserver.ubuntu.com gpg: /tmp/tmp8xrlxgw3/trustdb.gpg: trustdb created gpg: key B8FEAE9A: public key "Launchpad PPA for kasra_mp" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
After installing the PPA repository update the packages & repositories of Ubuntu 16.04 using below command.
[email protected]:~$ sudo apt-get update # Update Packages & Repositories Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2 http://ppa.launchpad.net/kasra-mp/ubuntu-indicator-weather/ubuntu xenial InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease Reading package lists... Done
Now let’s go ahead and install Simple Weather Indicator (desktop weather widget) application using below command.
[email protected]tu:~$ sudo apt-get install indicator-weather # Install Simple Weather Indicator Package Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python-cairo python-gi python-gobject-2 python-gtk2 python-retrying python-six Suggested packages: python-gi-cairo python-gobject-2-dbg python-gtk2-doc The following NEW packages will be installed: indicator-weather python-cairo python-gi python-gobject-2 python-gtk2 python-retrying python-six 0 upgraded, 7 newly installed, 0 to remove and 230 not upgraded. Need to get 1,079 kB of archives. After this operation, 5,593 kB of additional disk space will be used. Do you want to continue? [Y/n] y ---> Enter "y" to continue the installation
As you can see above we have successfully installed the Package. To confirm the same refer the below command.
[email protected]:~$ sudo dpkg -l indicator-weather # Confirm the installed Package Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================= ii indicator-weather 1.0-0ubuntu5 all Display weather temperature
Now to open the application just type the command indicator-weather on shell prompt. Refer the command below.
[email protected]:~$ indicator-weather # Open the Weather Indicator application
For more settings click on Preferences.
You can also open the Simple Weather Indicator (desktop weather widget) application graphically using Search your computer box. Refer the snapshot below.
To Uninstall the Weather Indicator package use the below command.
[email protected]:~$ sudo dpkg -r indicator-weather # Uninstall the Simple Weather Indicator application (Reading database ... 208416 files and directories currently installed.) Removing indicator-weather (1.0-0ubuntu5) ... Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
This is how we can install Simple Weather Indicator application in Ubuntu 16.04 – A Desktop Weather Widget for Linux. If you found this article useful then Like us, Share this post on your preferred Social media, Subscribe our Newsletter OR if you have something to say then feel free to comment on the comment box below.
The post HOW TO INSTALL SIMPLE WEATHER INDICATOR APPLICATION IN UBUNTU 16.04 – A DESKTOP WEATHER WIDGET FOR LINUX appeared first on Elinuxbook: Linux Tutorials, Guides, Howtos, Tips and Tricks.
This post first appeared on Elinuxbook: Linux Tutorials, Guides, Howtos, Tips And Tricks, please read the originial post: here