How can I get the color temperature value that my Night light has set?
Asked
Active
Viewed 559 times
3
-
Ubuntu flavor and version? – Levente Apr 01 '21 at 18:14
-
1@Levente Night Light is a GNOME feature, so the OP probably uses GNOME. – BeastOfCaerbannog Apr 01 '21 at 18:23
2 Answers
1
To obtain the value it's set on currently, run this command in the terminal:
gsettings get org.gnome.settings-daemon.plugins.color night-light-temperature
To set it to a specific kelvin value yourself use this example:
gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature 5900
If you want to deal with this on a graphical interface, install the dconf-editor app:
sudo apt install dconf-editor
It may take a little time to get the hang of using its navigation feature.
You need to get to the org.gnome.settings-daemon.plugins.color
namespace. Or you can use its search feature to look for "night-light".

Levente
- 3,961
0
Here the whole command to enable night-light:
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true
gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature 4700

panticz
- 1,718