Summary
Night Light "Auto" schedule calculates sunrise and sunset times based on the system timezone (e.g., Europe/Moscow), not actual geographic coordinates. This gives incorrect results for users living far from the timezone reference point.
Example
| Location |
Timezone |
Sunrise (Jul 11) |
Sunset (Jul 11) |
| Moscow (55.8°N, 37.6°E) |
Europe/Moscow |
~03:50 |
~21:10 |
| Makhachkala (42.9°N, 47.5°E) |
Europe/Moscow |
~04:20 |
~19:30 |
Both use Europe/Moscow, but sunset differs by 1h40min. A user in Makhachkala will have Night Light turn on 1h40min too late and turn off 30min too early.
Expected behavior
Auto mode should either:
- Use the coordinates from
night-light-last-coordinates gsetting (when manually set by user via gsettings or gammastep/redshift config), falling back to timezone-based estimation if no coordinates are set
- Or allow selecting a city/coordinates in the Night Light settings GUI
- Or at minimum document that Auto mode is timezone-based and recommend Manual schedule for accurate times
The night-light-last-coordinates key exists in org.cinnamon.settings-daemon.plugins.color schema but is only used as a cache for GeoIP data — unused when the user sets it manually or when GeoIP is unavailable.
Current workaround
Use "Manual" schedule with custom times, or set coordinates via:
gsettings set org.cinnamon.settings-daemon.plugins.color night-light-last-coordinates "(42.9, 47.5)"
(these coordinates are currently ignored by the auto schedule calculation)
System
- Cinnamon 6.6.7
- Linux Mint 22.3 Zena
- X11
Summary
Night Light "Auto" schedule calculates sunrise and sunset times based on the system timezone (e.g., Europe/Moscow), not actual geographic coordinates. This gives incorrect results for users living far from the timezone reference point.
Example
Both use Europe/Moscow, but sunset differs by 1h40min. A user in Makhachkala will have Night Light turn on 1h40min too late and turn off 30min too early.
Expected behavior
Auto mode should either:
night-light-last-coordinatesgsetting (when manually set by user via gsettings or gammastep/redshift config), falling back to timezone-based estimation if no coordinates are setThe
night-light-last-coordinateskey exists inorg.cinnamon.settings-daemon.plugins.colorschema but is only used as a cache for GeoIP data — unused when the user sets it manually or when GeoIP is unavailable.Current workaround
Use "Manual" schedule with custom times, or set coordinates via:
(these coordinates are currently ignored by the auto schedule calculation)
System