Redshift don't work anymore after upgrade to 19.04

Hi!

My Redshift don't work anymore after upgrade to 19.04.

In 18.04-2 it worked with this command:

redshift -l 48.858:2.295 & disown

In 19.04, I run the above command in mate-terminal
and it shows me:

Using method `randr'.
Waiting for initial location to become available...
Location: 48.86 N, 2.30 E

nothing happened...

I don't use geoclue etc.

I run:
redshift-gtk -l -34.61:-58.38
in 19.04.

I used to add
[redshift]
allowed=true
system=false
users=
at the end of /etc/geoclue/geoclue.conf in 18.10 but I think that doesn't work anymore.

I don't have geoclue installed because I don't need the services from geoclue.

I've come a little further with that command:

redshift -l 48.858:2.295 -t 5700:3600 -g 0.8 -m randr -v

Output:

Solar elevations: day above 3.0, night below -6.0
Temperatures: 5700K at day, 3600K at night
Brightness: 1.00:1.00
Gamma (Daytime): 0.800, 0.800, 0.800
Gamma (Night): 0.800, 0.800, 0.800
Waiting for initial location to become available...
Location: 48.86 N, 2.30 E
Color temperature: 6500K
Brightness: 1.00
Status: Enabled
Period: Daytime
Color temperature: 5700K
Status: Disabled
Period: None
Color temperature: 6500K

It worked for 3 seconds and then the screen flickering.
:confused:

have you tried the -gtk version?

No @ gabdub...

It's running now...

I also removed libgeoclue-2-0 with:

"sudo apt purge --remove libgeoclue-2-0"

Run 'RedShift' in mate-terminal with this command:

killall redshift
redshift -l 48.858:2.295 -t 3600:3600 -r -g 0.8 -m randr -v

and now it's working for me.

Make a link etc. with this command:

redshift -l 48.858:2.295 -t 3600:3600 -r -g 0.8 -m randr

Found here the solution:
https://wiki.archlinux.org/index.php/redshift#Configuration

RedShift screen flickering:
Redshift makes the screen quickly flicker between the set color value of the screen and the default color value

Make sure there are not multiple instances of redshift running.

2 Likes

thank you, it worked for me :slight_smile: