In Ubuntu 20.04.3 kernel version 5.16.3-051603-generic. When I turn on night light it gets disabled automatically after few seconds like in this: Night light error video.
What is the cause of problem? Is there anything I can do?
In Ubuntu 20.04.3 kernel version 5.16.3-051603-generic. When I turn on night light it gets disabled automatically after few seconds like in this: Night light error video.
What is the cause of problem? Is there anything I can do?
Another reason may be that location services is turned off.
Apparently, in that case, the system gets the time for sunrise and sunset wrong.
I just experienced this: it was well after sunset, I toggled Night Light on. Nothing happened. Schedule was set to "Sunset to Sunrise", as desired. Then I moved the Color Temperature slider and the screen's color immediately changed. But after a few seconds, it just changed back.
I didn't have Redshift installed in the first place.
But when I enabled Location Services (Settings → Privacy → Location Services) the Night Light kicked in almost immediately. And stayed on.
So, this seems to be another possible cause for the symptom described in the original post.
I got it. Thanks to this answer - Night light and Redshift don't work.
I first uninstalled redshift with the command
sudo apt-get remove redshift then
Automatic night light does not seems to work. So, I changed to manual timings and it worked now.
The 'Sunrise to Sunset' option was causing this for me.
In a similar vein to @elgeschickto's answer, one solution is to go to Settings -> Displays -> Night Light and change the schedule to 'Manual Schedule' and then set appropriate times.
My case was different. I had the same issue (I moved the Color Temperature slider and the screen's color immediately changed. But after a few seconds, it just changed back.). But in my case I had to
I didn't want to enable location services (and doing so made no difference).
In the end I set Gnome Night Light to manual mode and set the start time to 00:00 and end time 00:00 and then I had to toggle the slider finally to set the color temp.
What a terrible user experience but it works.