I tried to use GNOME Nightlight in Ubuntu 17.04. The settings only allow me to turn it on and adjust the time. Is it possible to adjust the intensity or temperature of the hue? Currently, it's a bit too much.
4 Answers
gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature <temperature>
Here are some temperatures values I determined myself (probably not correct):
1000
Lowest value (really red)4000
Default night light temperature5500
More pleasant and less intense night light temperature6500
Default temperature (night light off)10000
Highest value (really blue)

- 996
-
12This worked in ubuntu 18.04 also – Dinuka Salwathura Jun 04 '19 at 15:33
-
5Also confirming this has worked on Ubuntu 18.04. I found 5000 to be the sweet spot for me. – GMaster Jul 21 '19 at 14:46
-
It would be great if we could adjust the brightness – Pithikos Nov 07 '19 at 18:30
-
I'm also using Ubuntu 18.04 but for me the above command doesn't have any effect, also not after switching the nightlight off and on again. Any idea what's going wrong for me? – Alfe Mar 24 '20 at 23:47
-
@stare.in.the.air what about the day temperature instead of the night light? Is there a way to list all possible temperature settings? – ComputerScientist Sep 30 '20 at 12:46
-
@Alfe Try without sudo! That was the case on my setup... – ForeverLearning Aug 24 '21 at 01:05
-
Great, thanks! On ubuntu 18.04.6 Gnome 3.28.2 the graphical tool to adjust color temperature was not working. With this command, it works like a charm! – valerio Jan 10 '22 at 14:48
There's now a GNOME shell extension called "Night Light Slider" that works quite nicely:
In case you don't already have shell extensions running, here's a good overview of what to do: How do I install and manage GNOME Shell extensions?
-
1Great extension, the little slider is just what I wanted. Works out of the box on Ubuntu 18.04.3 – m.raynal Nov 26 '19 at 13:38
To expand upon Bimsara Gayanga's answer regarding dconf-editor
, here's how the process worked for me on Ubuntu 18.04. First, install it (source):
sudo apt-get update -y
sudo apt-get install -y dconf-editor
Then, run dconf-editor
on the command line. This will result in a GUI that you can click on. If you click on org -> gnome -> settings-daemon -> plugins -> color (source) then you will see the night light settings:
Then you can adjust the night-light-temperature
tab. In fact, I also realized that you can use this to adjust the schedule. The GUI that we normally use with Ubuntu 18 was confusing me, and I wasn't able to get night light working on it. Fortunately, I could change the start time and end time here.

- 275
- 5
- 10
Install dconf editor for ubuntu. You can do that using the software installer that comes with ubuntu. Then search for "night" Choose the tab for night light temperature. Choose custome mode and set the value. I prefer already mentioned 5500. 4000 is too much for eye.