Posting this here for anyone using redshift
.
I don’t normally use my computer very late at night, but I had to do something last night and noticed that redshift
was not working.
I did a bit of research and discovered that the application uses a service called geoclue2
to obtain location information. This location information is then used to determine when redshift
becomes active during course of the day. Then I learned at this thread that geoclue2
uses the Mozilla Location Service which was discontinued last June.
The workaround is simple.
Create a file ~/.config/redshift.conf
Place the following lines in the file
[redshift]
location-provider=manual
[manual]
lat=49.01
lon=8.40
Replace the latitude/longitude above with your own.
One quick way to determine your latitude and longitude is to go to Google Maps, search for your address, right click the resulting map marker and copy the lat/lon numbers. Plug them in, restart redshift, and you should be good to go.