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):
- 1000Lowest value (really red)
- 4000Default night light temperature
- 5500More pleasant and less intense night light temperature
- 6500Default temperature (night light off)
- 10000Highest value (really blue)
 
    
    - 996
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?
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.
 
    
    - 295
- 6
- 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.
 
    
    - 11
- 2
 
     
    
 
    