{"id":43286,"date":"2022-11-05T16:40:08","date_gmt":"2022-11-05T16:40:08","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43286"},"modified":"2024-09-01T13:28:02","modified_gmt":"2024-09-01T13:28:02","slug":"this-tool-adds-current-weather-in-top-bar-clock-in-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/11\/this-tool-adds-current-weather-in-top-bar-clock-in-ubuntu-22-04\/","title":{"rendered":"Add Weather in Top-Bar Clock Area in Ubuntu 22.04 | 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-38243\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/gnome-weather-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" 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 applications for Linux desktop. GNOME, the default desktop environment for Ubuntu, Fedora, and some other Linux, also has a core weather application.<\/p>\n<p>With the core weather app, user can either open the app window to get current weather condition, hourly and daily forecast, or open the clock menu to see the weather forecast for next hours.<\/p>\n<div id=\"attachment_43287\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-43287\" class=\"size-large wp-image-43287\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu-600x351.webp\" alt=\"\" width=\"600\" height=\"351\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu-600x351.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu-300x176.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu-768x450.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu-1320x773.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-menu.webp 1366w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-43287\" class=\"wp-caption-text\">Gnome Weather and Clock menu integration<\/p><\/div>\n<p>To make life easier, there&#8217;s also an extension which add current weather condition and temperature in center of top panel. So, user can get a glimpse of it and date time by looking up.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-onpanel.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43288\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-onpanel-600x375.webp\" alt=\"\" width=\"600\" height=\"375\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-onpanel-600x375.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-onpanel-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-onpanel.webp 662w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Step 1: Install &amp; Setup Gnome Weather<\/h3>\n<p>First, you need to install &#8220;Gnome Weather&#8221;, the core GNOME app. It&#8217;s available to install in Ubuntu through either App Center (for 24.04) or Ubuntu Software (for 22.04 and earlier).<\/p>\n<p><b>NOTE: App Center in Ubuntu 24.04 by default shows Snap package! For better integration, it&#8217;s better use &#8220;Filter by: Debian package&#8221; for classic Deb package.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-appcenter.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47147\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-appcenter-700x440.webp\" alt=\"\" width=\"610\" height=\"383\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-appcenter-700x440.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-appcenter-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-appcenter-768x482.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gnome-weather-appcenter.webp 1038w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For choice, user can open terminal (Ctrl+Alt+T) and run the command below instead to install it:<\/p>\n<pre>sudo apt install gnome-weather<\/pre>\n<p>Then, launch the app. <strong>Set your location, and choose your favorite temperature unit<\/strong>. After that, you can click the clock on top-bar and see the weather info in drop-down menu.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-setlocation.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43291\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-setlocation-600x437.webp\" alt=\"\" width=\"600\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-setlocation-600x437.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-setlocation-300x218.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-setlocation-768x559.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/weather-setlocation.webp 882w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Step 2: Install the Weather O&#8217;Clock extension<\/h3>\n<p>To also display the weather on top-bar besides clock, then you may install the Weather O&#8217;Clock extension mentioned above. It works on GNOME from version 42 to 46, meaning Ubuntu 22.04 and Ubuntu 24.04 supported.<\/p>\n<p>For Ubuntu and Arch, first search for and install &#8216;Extension Manager&#8217; from Ubuntu Software (or App Center).<\/p>\n<div id=\"attachment_44419\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/extension-manager-inappcenter.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-44419\" class=\"size-large wp-image-44419\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/extension-manager-inappcenter-600x425.webp\" alt=\"\" width=\"600\" height=\"425\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/extension-manager-inappcenter-600x425.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/extension-manager-inappcenter-300x212.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/extension-manager-inappcenter-768x544.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/extension-manager-inappcenter.webp 989w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-44419\" class=\"wp-caption-text\">Install Extension Manager in Ubuntu Software\/App Center<\/p><\/div>\n<p>Then, search for and launch the tool from &#8216;Activities&#8217; overview screen.<br \/>\n<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39607\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager.webp\" alt=\"\" width=\"548\" height=\"281\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager.webp 548w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager-300x154.webp 300w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/a><\/p>\n<p>Finally, search for and install the Weather O&#8217;Clock extension under Browse tab. For Ubuntu 22.04, you may switch filter in case it does not show your the correct search result.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-weatheroclock.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43289\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-weatheroclock-600x470.webp\" alt=\"\" width=\"600\" height=\"470\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-weatheroclock-600x470.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-weatheroclock-300x235.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-weatheroclock-768x601.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-weatheroclock.webp 922w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>And other Linux can get the extension at this <a href=\"https:\/\/extensions.gnome.org\/extension\/5470\/weather-oclock\/\" target=\"_blank\" rel=\"noopener\">web page<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>There are quite a few weather applications for Linux desktop. GNOME, the default desktop environment for Ubuntu, Fedora, and some other Linux, also has a core weather application. With the core weather app, user can either open the app window to get current weather condition, hourly and daily forecast, or open the clock menu to [&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":[689],"class_list":["post-43286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gnome"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43286","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=43286"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43286\/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=43286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}