بسم الله

Bismillah

Adjust the screen brightness with redshift, so as not to damage the eyes.

The following instructions will not enable gnomes night mode. But will allow a nearly indistinguishable effect.

Suggested solution

Install redshift

sudo apt install redshift redshift-gtk 

Edit GeoClue’s config

sudo nano /etc/geoclue/geoclue.conf

Append the following lines to /etc/geoclue/geoclue.conf

[redshift]
allowed=true
system=false
users=
Configure redshift

Example of a manual config, for Copenhagen, Denmark. See Redshift homepage for an additional config example. Comment out or change the latitude and longitude for you location.

nano ~/.config/redshift.conf
[redshift]
temp-day=6500
temp-night=3700
location-provider=manual

[manual]
lat=55.7
lon=12.6

الحمد لله

Linked Refrences: