Today I learned how to enable #redshift in #QubesOS !

Redshift is a program that changes the light settings of your display to make the light shift more to the red and less to the blue spectrum, in order to make you sleep better.

This was actually a little bit complicated.

I found this thread helpful:
https://groups.google.com/forum/#!topic/qubes-users/Qi1NqE8raS8

This is a little older and deals with Qubes 3.2, but it also seams to work for version 4.

This line will install Redshift in Dom0 (since it affects the whole display, it has to run in Dom0):

[user@dom0 ~]$ sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing redshift redshift-gtk:

But Redshift only works with a location, that it can not get from the system, so you will also have to add a config file with a manually set location.

Type (in Dom0 Terminal):

cd ~/.config/
sudo nano redshift.conf

and enter the following in the new file:

[redshift]
location-provider=manual
[manual]
lat=-31.4
lon=-64.5

Change the numbers to whatever works best with your sleep rhythm.

Then just restart Redshift.

Running a program in Dom0 might have some security applications, but I am willing to take those risks for this, because it really works. I notice that the white light in the evening disturbs my sleep.

Google Groups

Mit Google Groups können Sie Online-Foren und E-Mail-basierte Gruppen erstellen, sich daran beteiligen und interessante Diskussionen mit anderen Mitgliedern führen.

Not such a bright idea: why your phone’s ‘night mode’ may be keeping you awake

Many smartphone screens switch to warmer colours in the evening to help you sleep better – but research suggests the science behind this is all wrong

The Guardian

@mastor Interesting. But.... aren't mice nocturnal? So obviously this would not only not work in mice, but create the opposite effect. Just like the study shows.

This doesn't seen to be a valid conclusion from the research.

@qubesnoob I don't know. Of course. I think the new study could make sense – if I think of 'body scan speed meditation'. There you imagine scenes in black and blue. The combination of these colors calmes down human beings according to psychologists.