Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3552  / 2 Years ago, tue, december 21, 2021, 4:27:31

I have always used Weather Indicator (indicator-weather) for all my weather-related needs on Ubuntu, since 10.04. I now use 11.10 and have indicator-weather installed from the Ubuntu repositories. I recently moved from New Orleans, Louisiana to a town called Central just outside of Baton Rouge, Louisiana. I tried to removed my New Orleans location and add my new one using the programs Preferences dialog. It allows me to remove my current location, and even allows me to select "Central, Louisiana, United States" by entering "Central, LA" and hitting the "search" button. But when I do that, the application hangs and goes gray and never ever updates. This is driving me crazy. I cannot seem to find how to manually change my location in any config file, although I don't know much about this app and I am not sure where it stores this info. Things I have tried so far include:




  1. Change Location as mentioned above

  2. Use the more common "Baton Rouge" location choices using the same steps mentioned above.

  3. I have uninstalled the application AND also uninstalled the dependency python-pywapi using both the sudo apt-get remove AND the sudo apt-get purge commands and reinstalling the application.

  4. I did everything mentioned in #3 and then restarted my system before re-installing.



Interestingly, after doing all of the above and then reinstalling the program, the first time I run it I am STILL greeted with my old Location settings instead of being prompted to choose an new location! I would also like to add that my wife is running Ubuntu 10.10 and she was able to change her location data with no trouble whatsoever.



The short version of this question would be: how do I change my Location in Weather Indicator on Ubuntu 11.10? Any help would be appreciated.



EDIT: I would also accept a solution that lets me re-install the application in a brand-new state so I could just add my Location instead of adding a second one or removing the first one, etc.


More From » indicator

 Answers
6

I can't reproduce your issue - however, some suggestions.




  • Reset indicator-weather



Indicator weather related configuration is held in an internal database (you can use dconf-editor to view in a GUI format).



Thus to reset indicator-weather you can use the following from a terminal:



gsettings reset-recursively apps.indicators.weather



  • Assign central to dconf directly



Assuming that I have correctly searched for "baton rouge" and having selected "central" you can write to the internal database directly with these values:



gsettings set apps.indicators.weather locations "{'2377529': {'google id': ',,,30554355,-91036771', 'noaa id': 'woot', 'longitude': '-91.0367706', 'yahoo id': u'USLA0510', 'latitude': '30.5543546', 'label': 'Central', 'full name': 'Central, Louisiana, United States'}}"

gsettings set apps.indicators.weather places "[['2377529', 'Central']]"

[#41312] Wednesday, December 22, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampust

Total Points: 133
Total Questions: 109
Total Answers: 111

Location: Reunion
Member since Fri, Jul 22, 2022
2 Years ago
ampust questions
Thu, Jul 15, 21, 16:30, 3 Years ago
Mon, Oct 24, 22, 05:38, 2 Years ago
Thu, Sep 15, 22, 14:37, 2 Years ago
Tue, Sep 7, 21, 17:46, 3 Years ago
;