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:
- Change Location as mentioned above
- Use the more common "Baton Rouge" location choices using the same steps mentioned above.
- 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.
- 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.
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']]"
No comments:
Post a Comment