To enable night mode on Linux and void strain to the eyes while working at night, install redshift. To install from the repository, open a terminal window and enter the following command:
sudo apt-get install redshift-gtk <enter>
This will install the RedShift tool. Run it and set it up to reduce screen glare at night.