Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Weather Application in Ubuntu system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to use the weather application in Ubuntu system". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use the weather application in Ubuntu system.

Smartphones have weather widgets that blend smoothly into the phone's appearance, and now thanks to Flair Weather Conky, you can have a smartphone-like weather look on your Linux desktop. We will use a GUI tool, Conky Manager, to easily manage Conky in Linux. Let's take a look at how to install Conky Manager in Ubuntu 14.10, Linux Mint 17, and other Linux distributions.

Install Conky Manager

Open a terminal and use the following command:

The code is as follows:

Sudo add-apt-repository ppa:teejee2008/ppa

Sudo apt-get update

Sudo apt-get install conky-manager

Make sure curl is installed

Make sure that curl is installed. If it is not installed, you can install it using the following command:

The code is as follows:

Sudo apt-get install curl

Download Flair Weather Conky

Download the script for Flair Weather Conky from the link below:

Download the script for Flair Weather Conky

Using Flair Weather Conky scripts in Conky Manager

Step 1:

Just like you installed themes in Ubuntu 14.04, there should be a .conky directory in your home directory. If you use the command line, I don't think I need to tell you how to find this directory. For beginners, use the File Manager to change to your home directory and press Ctrl+H to show hidden files in Ubuntu. Look for the .conky folder here, and if you don't have it, create one.

Step 2:

In the .conky directory, extract the downloaded Flair Weather file. Note that by default it is automatically extracted to a directory called .conky. So go into this directory, take the Flair Weather folder out of it, and paste it into the real .conky directory.

Step 3:

Flair Weather uses Yahoo's weather service, but it doesn't automatically identify your location. You need to edit it manually. Go to the Yahoo Weather page and type your city / Pin code to get the location ID number of your city. You can get the location ID number from the web address bar.

Step 4:

Open Conky Manager, which should be able to read the newly installed Conky script. There are two styles available, black theme or bright theme. You can choose the one you prefer. When you choose, you can see the conky display on the desktop.

In Flair Weather, the default location is set to Melbourne. You must manually edit the conky file to modify it.

Step 5:

In the screenshot above, you can see that there is an option to edit the selected conky script. In the open editor, look for location or WOEID and change it to the location ID number you got in step 3. Then restart Conky.

In the same location found above, if you replace upright c with uprif, the unit of temperature will be changed from Celsius to Fahrenheit. Don't forget to restart Conky to see the changes that have been made.

Possible troubleshooting

In Ubuntu 14.04 and Ubuntu 14.10, if you find that the times shown in Conky overlap, please edit the conky script. Find the following lines:

The code is as follows:

# # cairo-compmgr

Own_window_type override

Own_window_argb_visual no

Then replace the content with the following lines:

The code is as follows:

# # cairo-compmgr

Own_window_type dock

Own_window_argb_visual no

Save the changes and restart conky. This should solve the problem. Thanks to Jesse (the developer of this Conky script) for providing us with this solution and support for other related issues.

At this point, I believe you have a deeper understanding of "how to use the weather application in the Ubuntu system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report