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)
-
12
-
5Also confirming this has worked on Ubuntu 18.04. I found 5000 to be the sweet spot for me.– GMasterJul 21, 2019 at 14:46
-
-
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?– AlfeMar 24, 2020 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? Sep 30, 2020 at 12:46
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.raynalNov 26, 2019 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.
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.