In case you’re a fan of maintaining a watch on the weather out of your Linux desktop, you ought to set up an excellent forecast app. Now, there are a lot of weather functions on Linux, however when you’re in search of an effective way to get quick weather updates from the system tray on Linux, Meteo is the the most effective.

For starters, Meteo is simple on the eyes, and the forecasts are simple to learn. Secondly, it could possibly stay in your system tray and repeatedly give quick updates. And better of all, Meteo may be configured to present weather updates from numerous cities! Right here’s how to set it up on your system!

Set up Meteo on Linux

Earlier than we are able to go over how to arrange Meteo for quick weather updates on the Linux desktop, this system wants to be put in. Sadly, the Meteo utility doesn’t appear to be packaged for distribution on any of the key Linux desktop working techniques (besides Arch Linux). In consequence, constructing from supply is required.

To construct the Meteo utility from supply, open up a terminal window by urgent Ctrl + Shift + T or Ctrl + Alt + T on the keyboard. Then, comply with the directions beneath.

Amassing dependencies

Meteo is a Qt utility, so that you’ll want to seize a couple of Qt dependencies and set them up earlier than trying to construct this system. These dependencies embrace Python3-pip, Python3 Qt5, and some different issues.

Ubuntu

sudo apt set up pyqt5-dev-tools qttools5-dev-tools python3-pip

After putting in the dependencies on your Ubuntu PC, you’ll want to run a symlink command, to be sure that Qt5 is the system default.

ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf

Following the ln command, use pip3 to set up the “lxml” module. With out it, Meteo won’t launch on Linux.

sudo pip3 set up lxml

Debian

sudo apt-get set up pyqt5-dev-tools qttools5-dev-tools python3-pip

As soon as all dependencies are taken care of, run the command beneath to be sure that Qt5 is the default on your Debian Linux PC.

ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf

Debian Linux wants the “lxml” Python 3 module for Meteo to construct and launch efficiently. To get it put in, use the Pip3 command beneath.

sudo pip3 set up lxml

Arch Linux

On Arch Linux, there’s no actual want to deal with putting in dependencies manually. As an alternative, you may get the whole utility constructed from supply mechanically utilizing the AUR. In a terminal, enter the next instructions to get all the things up and operating.

sudo pacman -S git base-devel

git clone 
cd trizen
makepkg -sri
trizen -S  meteo-qt

Fedora

To put in the Fedora dependencies, use the Dnf packaging instructions beneath in your terminal session.

sudo dnf set up python3-qt5-devel qt5-linguist qtchooser python3-pip

After taking good care of the dependencies for Fedora Linux, set Qt5 because the default on your  PC.

sudo update-alternatives --config qtchooser-default

Lastly, set up the lxml module by way of Python 3.

sudo pip3 set up lxml

OpenSUSE

Putting in the Meteo dependencies on OpenSUSE Linux requires utilizing Zypper. Utilizing the command beneath, get the newest construct information on your SUSE PC.

sudo zypper set up python3-qt5-devel libqt5-linguist

Subsequent, replace SUSE in order that Qt4 is about because the default.

sudo  ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease

End up putting in the construct dependencies on SUSE with the pip command.

sudo pip3 set up lxml

Generic Linux

Any Linux distribution can run Meteo, as long as you may set up the dependencies lined on the GitHub web page. For extra data, click on here.

Constructing Meteo

Taking good care of the dependencies for Meteo is tedious as a result of there are such a lot of, but it surely’s price it, as this system builds fairly properly. To begin the constructing, go to the terminal and use the python3 command to run the set up script.

Be aware: When putting in the Meteo utility, you might want to allow further choices. To entry these choices, run the command beneath with the –assist change.

sudo python3 setup.py set up

Organising Meteo

To begin utilizing Meteo, launch the appliance, and it’ll seem within the system tray on the desktop. Proper-click on the crimson X icon and choose “Preferences.”

Inside preferences, the app will inform you that you just want an API key from OpenWeatherMap. Head here, create your key on the web site and paste it into the “OpenWeatherMap” textual content field.

As soon as your secret is set, undergo the remainder of the settings and set the town you reside in. Be certain additionally to tweak all the program settings to your liking. As an illustration, when you favor Fahrenheit to Celsius, change it.

2Q==

Once you’re happy with all the settings inside Meteo, click on the “Apply” button to apply the settings.

To test the weather with Meteo, go to the system tray and double-click on the icon. Or, wait, and it’ll periodically replace you with pop-up messages.



Source link

Share.
Leave A Reply

Exit mobile version