This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Weather forecast widget: how to set city?

Tags: None
(comma "," separated)
Aardwolf
Registered Member
Posts
32
Karma
0
In the Weather forecast widget in the taskbar, I'd like to enter the city Brussels.

If it has in its settings a dropdown with 3 providers: NOAA, BBC and one from Canada. With each of these 3, if I enter Brussels, it says "Cannot find Brussels".

Brussels is the capital of Belgium, by the way.

How can I set up this city with this widget? And how can I get more Providers in it if needed? (the dropdown only has those 3 and no apparent options to add others).

So basically the weather forecast widget now looks like a question mark in my taskbar...

Thanks!
User avatar
mfabry
Registered Member
Posts
5
Karma
0
OS
All widgets usually have fixed list of providers. Some of them use city names, other their own location codes. Check out kde-look.org or your distribution's repo. My favourite is CWP.
Aardwolf
Registered Member
Posts
32
Karma
0
Sorry but if I look with google for KDE weather forecast, I get NOTHING at all that explains how to set a city there, what codes to use or how to add multiple providers.

The kde-look.org link also gives me no clue how to do that.

What can I do to set Brussels, which steps exactly?

Thanks.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Which KDE SC version? Here "Brussels" works fine with the BBC provider. If you use < 4.4, see this post.

There has been discussions about using Get Hot New Stuff to get new weather providers. This way you can easily add new providers, and update existing ones if they've been changed (like in the case of BBC).


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
Aardwolf
Registered Member
Posts
32
Karma
0
Hint to the KDE developers:

Look how good it works in Gnome.

All you have to do there is type the name of your city (no matter where in the world), and it works. And it doesn't even make you choose between a list of providers, no, it probably just uses a single in internally, and yet it WORKS! KDE shows a list of 3, and non of them works!

In KDE, it is one big error. Even pressing the Help button gives an error!
User avatar
annew
Manager
Posts
1155
Karma
11
OS
There are several weather widgets, and I've been experimenting with them. Some will give me weather reports, though from a poor selection of cities, but no weather symbols. In some of them there is not a single town or city recognised that gives me weather reports relevant to me. Yawp, using Accuweather, is faultless for me. It is not offered in all distros, I believe, as not all agree on the meaning of Accuweather's license.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
MirzaD
Registered Member
Posts
86
Karma
0
OS
I managed to solve the problem!
Firstly it did not find my city Sarajevo and it is capital of Bosnia and Herzegovina.

I went to the BBC page http://news.bbc.co.uk/weather/ and searched for Sarajevo
It opened this page http://news.bbc.co.uk/weather/forecast/ ... gion=world

Then i copied name of my country as it was written on the page before. (see the screenshot: http://img41.imageshack.us/img41/3262/p ... rq1359.jpg)

After i copied the name of the country i searched for it in the widget and got the result.

However i did not manage to repeat that success.
steelskin
Registered Member
Posts
2
Karma
0
OS
If you search for your city and it can't find it, you may need to do the following..

The weather entry is only created first time the applet is succesfully configured, for me i just typed reading and reading Pennsylvania comes up, ok on it and let it configure.

Now look in the plasma-desktop-appletsrc file and the following entry should exist. (If your using opensuse this file is located in /home/USER/.kde4/share/config/)
[Containments][1][Applets][58][Configuration]
Share=false
pressureUnit=5008
source=bbcukmet|weather|[B]Reading Regional, Pennsylvania|http://newsrss.bbc.co.uk/weather/forecast/3634/ObservationsRSS.xml
speedUnit=9000
temperatureUnit=6001
updateInterval=30
visibilityUnit=2007

Download the full list of BBC location codes open the 80 page document up and find your town, note it's code (right hand column) and replace the code for Basingstoke (4267) with the code for your town.

Here is an example for Basingstoke in the UK
[Containments][1][Applets][60][Configuration]
Share=false
pressureUnit=5008
source=bbcukmet|weather|Basingstoke|http://newsrss.bbc.co.uk/weather/forecast/4267/ObservationsRSS.xml
speedUnit=9000
temperatureUnit=6001
updateInterval=30
visibilityUnit=2007

Removing the widget and adding it back to the desktop is not enough to get the widget using the new configuration. You will need to log out of KDE or reboot.
Image


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]