{"id":38242,"date":"2022-03-30T16:42:21","date_gmt":"2022-03-30T16:42:21","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=38242"},"modified":"2022-03-30T16:43:17","modified_gmt":"2022-03-30T16:43:17","slug":"weather-forecast-widget-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/03\/weather-forecast-widget-ubuntu-22-04\/","title":{"rendered":"This Extension Shows Weather Forecast as Desktop Widget in Ubuntu 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-38243\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>There are quite a few weather apps for Ubuntu Linux. Here&#8217;s a new one for GNOME desktop 40+.<\/p>\n<p>Different to other apps, the extension show a little icon in system tray area for current weather condition. By clicking on it will display weather forecast for next days as desktop widget.<\/p>\n<p>Though it only shows the basic icons (e.g., cloudy, clear, rain, or snow.), and allows to control via:<\/p>\n<ul>\n<li>single click on indicator icon to display widget.<\/li>\n<li>right-click on desktop widget to hide.<\/li>\n<li>middle click to refresh.<\/li>\n<li>Scroll up\/down to increase\/decrease days.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gshell-weather-widget-600x247.webp\" alt=\"\" width=\"600\" height=\"247\" class=\"aligncenter size-large wp-image-38244\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gshell-weather-widget-600x247.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gshell-weather-widget-300x124.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gshell-weather-widget-768x316.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gshell-weather-widget.webp 1025w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>As you see in the picture, the icons are somehow too big in my case in Ubuntu 22.04 laptop. And, it so far only supports for getting weather information from <b>OpenWeatherMap.org<\/b>.<\/p>\n<h3>How to Install the weather widget:<\/h3>\n<p>NOTE: the extension works on Ubuntu 21.10, Ubuntu 22.04, Fedora 34+, and Arch Linux etc with GNOME 40+.<\/p>\n<p>1.) Ubuntu user needs to first press Ctrl+Alt+T to open terminal, and run command to install the browser agent:<\/p>\n<pre>sudo apt install chrome-gnome-shell<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-chromeshell-jammy-600x198.webp\" alt=\"\" width=\"600\" height=\"198\" class=\"aligncenter size-large wp-image-38247\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-chromeshell-jammy-600x198.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-chromeshell-jammy-300x99.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-chromeshell-jammy-768x253.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-chromeshell-jammy.webp 774w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>2.) Next, click the link below to go to extension page and turn on the slider icon to install it.<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/extensions.gnome.org\/extension\/4919\/weather\/\" target=\"_blank\" rel=\"noreferrer noopener\">Gnome Shell Weather<\/a><\/div>\n<\/div>\n<p><b>NOTE: The pre-installed Firefox in Ubuntu 21.10+ is SNAP that so far does not support this thing! Use another browser or install <a href=\"https:\/\/launchpad.net\/~mozillateam\/+archive\/ubuntu\/ppa\" rel=\"noopener\" target=\"_blank\">Firefox as deb<\/a>.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/install-weather.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/install-weather-600x355.webp\" alt=\"\" width=\"600\" height=\"355\" class=\"aligncenter size-large wp-image-38246\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/install-weather-600x355.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/install-weather-300x177.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/install-weather-768x454.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/install-weather.webp 1075w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>And, if you don&#8217;t see the on\/off switch, install browser extension via &#8216;<i>click here to install browser extension<\/i>&#8216; link and refresh the page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension.png\" alt=\"\" width=\"520\" height=\"256\" class=\"aligncenter size-full wp-image-10357\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension.png 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/gnome-browser-extension-450x222.png 450w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<p>3.) Finally, open &#8220;Extensions&#8221; app (install via <code>sudo apt install gnome-shell-extension-prefs<\/code>). And, configure the extension to search and set your location.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/config-weatherwidget-600x372.webp\" alt=\"\" width=\"600\" height=\"372\" class=\"aligncenter size-large wp-image-38245\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/config-weatherwidget-600x372.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/config-weatherwidget-300x186.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/config-weatherwidget-768x476.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/config-weatherwidget.webp 1187w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>As you see, the app also has option to disable or remove the extension as you want.<\/p>","protected":false},"excerpt":{"rendered":"<p>There are quite a few weather apps for Ubuntu Linux. Here&#8217;s a new one for GNOME desktop 40+. Different to other apps, the extension show a little icon in system tray area for current weather condition. By clicking on it will display weather forecast for next days as desktop widget. Though it only shows the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":38243,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2061],"class_list":["post-38242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-weather"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/38242","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=38242"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/38242\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/38243"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=38242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=38242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=38242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}