LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 11-29-2020, 02:13 PM   #1
Snugbug
Member
 
Registered: May 2020
Posts: 97

Rep: Reputation: Disabled
Bodhi Linux 5.1-32bit- How to set town for Forecast 2.0?


Just installed the Forecast 2.0 in my Bodhi, which is working with the wttr API, but now I cannot find any information on how to set up the wanted town?
Adding the town's name to the settings of Forecast 2.0 has no effect.

The only way to change the location is in the terminal, when I enter
curl wttr.in/
followed without space by the wanted town, but this doesn't affect Forecast 2.0 either.

But how can I do it in Forecast 2.0, please?

Last edited by Snugbug; 11-29-2020 at 02:14 PM.
 
Old 11-30-2020, 06:01 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Hello

No entry in textbox means the place will be automatic considering the IP address. If you do not agree with the location, put the city or place name there. It is working here OK. Try to use + in case of multiple town name.

Stefan
 
Old 11-30-2020, 06:09 AM   #3
Snugbug
Member
 
Registered: May 2020
Posts: 97

Original Poster
Rep: Reputation: Disabled
Doesn't seem to work like that, sorry. I entered the wanted town, but it still displays the other town, the one according to the IP address.
 
Old 11-30-2020, 06:19 AM   #4
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Tell me the town name if you do not consider it too private info. I need to look personaly when I get home

S

EDIT: look here for complete info:
https://github.com/chubin/wttr.in
I can see + char there for your purpose. Salt+Lake+City

Last edited by the_waiter; 11-30-2020 at 06:20 AM.
 
Old 11-30-2020, 06:30 AM   #5
Snugbug
Member
 
Registered: May 2020
Posts: 97

Original Poster
Rep: Reputation: Disabled
Unfortunately, I do consider this private information. The town is one word only.
I just tried to pm you, but this forum doesn't seem to offer such an option.
 
Old 11-30-2020, 07:13 AM   #6
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
pm me on https://bodhilinux.boards.net/
 
Old 11-30-2020, 07:25 AM   #7
Snugbug
Member
 
Registered: May 2020
Posts: 97

Original Poster
Rep: Reputation: Disabled
Ok, I will register there as soon as possible.
 
Old 11-30-2020, 11:55 AM   #8
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Zipcodes do not work for the moksha module and city names aren't very specific and the weather stations it has are named after tiny places nobody has heard of (at least in my area), so to determine how to set it you have to trial and error various cities around you if your own city doesn't work and see what it gives you back and look it up on a map and see close to you then check another website to see if the weather is similar to you there....

I live in the 10th biggest city in America (San José, California) and can't get it to work exactly right here either. I use a VPN so my ip is somewhere else so can't use automatic. The place it picks when i put San Jose is somewhere called Coyote, Caifornia (which I'd never heard of but when I look it up it is just a little bit south but weather is different there cuz farther from bay). I found by trying various cities around me that if I pick "Cupertino, California" it gives me somewhere called "Austin, California" that is closer weather to me, but still not quite right cuz thats closer to the mountains, but still better than Coyote - also another place I'd never heard of and had to look up on a map.

Point is I think its the weather provider. I live fairly close to San Jose Reid-Hillview Airport, so in other websites/apps I often use that as my weather station, and when not available my zipcode 95121 usually finds somewhere nearby. Even SJC (San Jose International Airport) or San Jose downtown would be better than "Austin" and much better than "Coyote", so I agree it is not the most easy way to pick location and dont understand why it only has obscure places (at least near me)...

Last edited by enigma9o7; 11-30-2020 at 03:23 PM.
 
Old 12-02-2020, 05:12 AM   #9
Snugbug
Member
 
Registered: May 2020
Posts: 97

Original Poster
Rep: Reputation: Disabled
I do get some location more or less near by, but actually I'd prefer to have to proper town, if possible.

@ enigma9o7
If I try the wttr command in the terminal, the town is in fact displayed properly. If it is working there, shouldn't it be the same in Forecast 2.0, too?

@ the_waiter
You've got a pm in the other forum.

Last edited by Snugbug; 12-02-2020 at 05:13 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 18.04-Based Bodhi Linux 5.0 Enters Beta with Bodhi Builder Improvements LXer Syndicated Linux News 0 05-30-2018 11:12 AM
Linux Lite 2.8 32bit and my 2.6 32bit on another PC not updating anymore, can not FETCH depository, need help! FiFi R Linux - Newbie 13 03-13-2016 03:51 PM
LXer: Bodhi Linux 2.4.0 Released, One Year Left Until Bodhi 3.0.0 LXer Syndicated Linux News 0 09-14-2013 05:21 PM
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration