-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fallback location to redshift.conf #348
Comments
I think these should be address in GeoClue. That way it is solved for all applications that use GeoClue. I also suggest using ~/.config/geolocation for this. |
Rejected https://bugs.freedesktop.org/show_bug.cgi?id=96839 They explain that it would break other applications which use GeoClue. Preferred solution is for redshift to store (somewhere) the last known good location, and use that if GeoClue returns nothing. |
What? Couldn't you just tell GeoClue that you are fine with a fallback or last known location? |
"redshift.config" is the most direct approach. Set it and forget it. Only drawback is if your a frequent long-distance traveler. |
@maandree funnily, I don't think I'm in a position to tell the developers / maintainers / architects of a package what to do with their package. I can request / suggest changes, but they take responsibility for the system and and changes. The same with redshift. Having a separate request (or separate part of the response) where GeoClue provides that last known good location would work on both sides. Using the new info would require changes to redshift, but any acceptable solution is going to. |
@jtarin47 that solution doesn't work if you travel a lot, as I do. If you're (relatively) static then you don't need GeoClue at all. @maandree I've requested a satisfactory compromise https://bugs.freedesktop.org/show_bug.cgi?id=96861 |
I think a better way would be use the TimeZone locale to be used of GeoClue is not available or disabled. Each timezone is always passes through a city and if you are in that timezone, it approximates your day-night cycle. And every Linux machine always has a timezone associated with it. If you travel a lot, then you could simply put your timezone on autosync mode and it would still solve your problem. |
I think a third location provider can be added called |
But it makes a difference if you are in the same timezone near the equator or near the north or south pole. |
@rugk, I agree with you.
|
Isn't this the same of #36? |
If geoclue fails, redshift fails. That's wrong. There should be the ability to add a fallback (or default) location which is used if geoclue doesn't return a location.
See issue #333
The text was updated successfully, but these errors were encountered: