[Next] Add basic weather information to screensaver #464
+737
−26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Weather Widget for cinnamon-screensaver
Adds a new type of floating widget (similar to Clock and AlbumArt) that displays a weather icon alongside the current weather conditions. Utilizes OpenWeatherMap for weather data and GeoJS.io for location data. Models and interfaces are designed to be mostly compatible with the Weather applet in cinnamon-spices-applets/weather@mockturtl so that additional Weather and Location providers can be easily added.
The OpenWeatherMap API key from the cinnamon-spices-applets has been reused to enable out-of-the-box operation.
Dependencies
App will crash until the dconf schema is updated.
PR with the new schema in cinnamon-desktop is here:
linuxmint/cinnamon-desktop#246
PR with updated cinnamon-settings screensaver module here:
linuxmint/cinnamon#12516
In the meantime:
/usr/share/glib-2.0/schemas/org.cinnamon.desktop.screensaver.gschema.xml
org.cinnamon.desktop.screensaver.gschema.xml.in
file to/usr/share/glib-2.0/schemas/org.cinnamon.desktop.screensaver.gschema.xml
(rename it to remove the.in
at the end)sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
dconf-editor
or another means to set the relevant settings inorg.cinnamon.desktop.screensaver