There's a manual option to set the times you want GNOME night light to be on and off. I want it always on.

The closest I can get is to set it to turn on at 00:00 and turn off at 23:59. But then at midnight it goes off for a minute which is annoying. Then I have to turn it back on through the settings. How do I force it "always on".

  • Just curious. Why do you want Night Light ON all the time? There are other programs that can change screen gamma/temperature, as outlined in some answers below. – heynnema Oct 26 '18 at 14:45
  • 1
    @hennema because I don't like the default 6500 daylight setting. I find 5000 more pleasing to the eye during the day. Yes there are other programs but Night Light is included by default, why install additional programs if you don't have to? My two cents. – stackinator Oct 26 '18 at 16:50

The "native" way for Gnome Shell to always keep your nightlight color on involves to access some hidden options in dconf-editor. dconf-editor is not installed by default on Ubuntu 18.04. You may need to install it first.

  • Open dconf-editor and navigate to the key /org/gnome/settings-daemon/plugins/color/
  • Set night-light-schedule-automatic to false
  • Set night-light-schedule-from to 0, and night-light-schedule-to to 24 (or any value higher than this)

You can also adjust your color temperature there.

  • 1
    And you can manually change the color at any time in the terminal with the following ('5000' can be any value) gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature 5000 – stackinator Oct 26 '18 at 17:34

Another alternative is sct which you can install with sudo apt install sct.

$ sct -h
Usage: sct [temperature]
Temperatures must be in a range from 1000-10000
If no arguments are passed sct resets the display to the default temperature (6500K)
If -h is passed sct will display this usage information

Putting sct 3500 or whatever other value you prefer in your autostart should do it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.