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 see the weather forecast for next hours.
To make life easier, there’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.
Step 1: Install & Setup Gnome Weather
First, you need to install “Gnome Weather”, the core GNOME app. It’s available to install in Ubuntu through either App Center (for 24.04) or Ubuntu Software (for 22.04 and earlier).
NOTE: App Center in Ubuntu 24.04 by default shows Snap package! For better integration, it’s better use “Filter by: Debian package” for classic Deb package.
For choice, user can open terminal (Ctrl+Alt+T) and run the command below instead to install it:
sudo apt install gnome-weather
Then, launch the app. Set your location, and choose your favorite temperature unit. After that, you can click the clock on top-bar and see the weather info in drop-down menu.
Step 2: Install the Weather O’Clock extension
To also display the weather on top-bar besides clock, then you may install the Weather O’Clock extension mentioned above. It works on GNOME from version 42 to 46, meaning Ubuntu 22.04 and Ubuntu 24.04 supported.
For Ubuntu and Arch, first search for and install ‘Extension Manager’ from Ubuntu Software (or App Center).
Then, search for and launch the tool from ‘Activities’ overview screen.
Finally, search for and install the Weather O’Clock extension under Browse tab. For Ubuntu 22.04, you may switch filter in case it does not show your the correct search result.
And other Linux can get the extension at this web page.
OpenWeather can do the same thing (gnome-shell-extension-openweather)
thanks for this, that was bugging me why the weather option was not in the time settings, also why this is not installed by default. It works in Ubuntu 24