How do I turn the GNOME night light on or off from the command line? I've got the command gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled
but don't know what flag/argument/whatever to put on the end of it.
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled ON
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled TRUE
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled YES PLEASE
None of those work.
To turn on:
To turn off:
To schedule on time, here I want to schedule night light from 23:06 hrs (that is 06/60=0.1):
To schedule off time, I want to schedule night light off at 23:25 hrs (that is 25/60=0.416666666):
You can also set the night light temperature which will increase and decrease the brightness, 4000 is the default value for Ubuntu 18.04, you can try different values for example 2000, 3000, 5000, 6000, 10000 and set the preferred ones:
To get the current values for above commands, run the below commands
Example: