- This topic has 2 replies, 2 voices, and was last updated Mar 5-1:06 pm by MarkG_108.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › Applications/Accessories/Weather –> is there a way to change the location?
When I enact the weather option via the antiX menu button (Applications/Accessories/Weather), I receive a readout for Location: None, Torino, Piemonte, Italia [44.933143,7.540121]. I live in Toronto, so this readout is quite different from the weather I’m currently experiencing.
The program is Wtrr.in. Within a terminal, I can change the location via: curl wttr.in/Toronto. But, I’m not sure how to change what appears when I enact this weather program via the menu button.
antiX menu > Terminal
sudo geany /usr/local/bin/antix-weather.sh
enter your password, if asked to
On line nr 4, edit the part that says “http://wttr.in/$corrected_area?lang=$l1″ replacing “$corrected_area” with your location (Toronto).
Save the file.
When you launch the Wttr.in from the icon, it should display your location.
P.
Thanks. Yes, that works. It now generates a readout for:
Location: Toronto, Ontario, Canada [43.6529206,-79.3849007]
So, another thread that can be marked “solved”.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |