5

I am using Xubuntu 16.04

In Ubuntu there is the option to enable night mode from Display in Gnome Control Center

In my Xubuntu I have installed Gnome Control Center

But over there the Display option shows

Could not get Screen Information

So how can I enable night mode in my Xubuntu?

0

1 Answer 1

16

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

Install redshift

sudo apt-get 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
5
  • 1
    In your answer you have not mention whether latitude is N or S and also whether longitude is E or W. How to mention so?
    – Sonevol
    Commented Nov 16, 2017 at 23:01
  • 2
    South or west would be denoted by a negative latitude or longitude. For instance Lima, Peru would be lat=-12.0 lon=-77.0
    – J. Starnes
    Commented Nov 16, 2017 at 23:15
  • Do I really need to setup GeoClue if I define the location in the redshift.conf manually? Commented Apr 27, 2018 at 7:19
  • 1
    One method or the other will do. For a laptop geoclue may be advantageous as it would adjust for different locations
    – J. Starnes
    Commented Apr 27, 2018 at 15:56
  • Solid this works for xubuntu where I was having issues before. Thanks. Commented Dec 11, 2019 at 2:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .