57

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.

pomsky
  • 68,507
THpubs
  • 2,795

4 Answers4

88
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 temperature
  • 5500 More pleasant and less intense night light temperature
  • 6500 Default temperature (night light off)
  • 10000 Highest value (really blue)
21

There's now a GNOME shell extension called "Night Light Slider" that works quite nicely:

Night Light Slider extension

Night Light Slider extension demo

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?

pomsky
  • 68,507
LSharkey
  • 1,093
5

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:

enter image description here

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.

1

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.