Redshift is dead - long live redshift

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.

2 Likes

Yes, the geolocation service doesn’t work anymore.
Not for a long time.
It was based on the IP address and therefore useless/inaccurate anyway when using a VPN (which put’s you in a completely different location).

I have that file as
~/.config/redshift/redshift.conf

with these contents:

[redshift]
location-provider=manual

temp-day=6500
temp-night=5000

transition=1

adjustment-method=randr

[manual]
lat=51.314000
lon=12.321688

there you go - now you know where I (pretend to) live :slight_smile:

I do have redshift-gtk installed (for the panel icon) and have redshift in the auto started applications.
… color temperature changes without manual action based upon daylight / sun position condition for that location …

Yes. Been ded for a looong time now. Noticed using Linux Mint a year ago and I mainly use Manjaro Gnome and Windows and Linux Mint already implemented its own night light I think so far so gud.

Redshift will be missed. But. Not rally.