Installing redshift in Qubes OS to soothe your eyes at night

used the way attached in the past and was satisfied with…

AUTO Script:
------------

in dom0 terminal:

sudo qubes-dom0-update redshift

for permanent use, a AUTO startup script is needed:

move to .config directory in dom0 terminal:

cd /home/<Username>/.config
nano redshift.conf

during create of: ~/.config/redshift.conf  latitude and longitude of your location also is needed:

 [redshift]
 temp-day=6400
 temp-night=3200
 adjustment-method=randr
 location-provider=manual

 [manual]
 lat=xx.xxxx
 lon=xx.xxxx

Save & close.

create script ~/.startupscripts/redshift.sh and open in dom0 terminal:

mkdir /home/<Username>/.startupscripts

cd .startupscripts

nano redshift.sh

Type:

  #!/bin/sh
  sleep 2
  redshift

Save & close.

In dom0 terminal make file executable:

chmod +x redshift.sh

In dom0 autostart under System tools Session & Startup insert:

Name: Redshift
Description: Blue light filter
Command: sh /home/<Username>/.startupscripts/redshift.sh
1 Like