type sudo qubes-dom0-update redshift in dom0 terminal and confirm installation by y
!
Remember that installing anything in dom0 is not recommended for security reasons
Configuration
Create confiig file - dom0 terminal:
cd .config
nano redshift.conf
You will create an empty file in path ~/.config/redshift.conf. Here you have to set values:
your location*, Day/Night Color. Here is explained sample with more functionality.
Basic configuration looks like:
Type redshift in dom0 to start the program. It will load previously saved configuration.
You can turn it off again by running killall redshift in a dom0 terminal
*Location is needed to know when actually sun sets for you. To find city longitude and latitude you can use geonames.org
Alternatively, use fixed times in the config file; that way you donât need to come up with a location:
type sudo qubes-dom0-update redshift in dom0 terminal and confirm installation by y
type sudo qubes-dom0-update redshift-gtk in dom0 terminal and confirm installation by y
Configuration
Create confiig file - dom0 terminal:
cd .config
nano redshift.conf
You will create an empty file in path ~/.config/redshift.conf . Here you have to set values:
your location*, Day/Night Color. Here is explained sample with more functionality.
Type redshift in dom0 to start the program. It will load previously saved configuration.
*Location is needed to know when actually sun sets for you. Without that parameter, redshift may not work. In ordinary Linux system, redshift uses location services like geoclue but i donât know if itâll work on qubes as dom0 shouldnât have internet access and the location provider needs IP to determine your location. You can always check it, read the archwiki.
To find city longitude and latitude you can use geonames.org
Important Note:
I suggest not to give your true location because crackers after this guide has been written may use this file to know your location. Just pick another country that is âcloseâ and has similar latitude.
Automation/Startup
Open dom0 terminal and type redshift-gtk, in your system tray redshift icon will appear, then click on it and mark checkbox called autostart. Reboot device. (For these, who configured auto-start from this guide, you have to delete previously created configuration in settings and script - itâs no longer needed, and will interrupt second package)
It may also work on KDE, so maybe we should change the title to: [HOW-TO] Blue Light Filter
Moderators: could you please replace first post with this update content? I have no rights Iâll try later to go through mentioned Qubes community documentation but believe me that I have lot of work and no timeâŚ
Does anyone know if a VM can detect redshiftâs color change?
If a process inside a whonix VM can detect the color change, it may be able to determine a rough timezone / geographic location.
From my very limited testing, turning redshift on/off from dom0 does not seem to change pixel color values as read by a color picker installed in a VM (xcolor from https://github.com/Soft/xcolor).
I noticed that the green sys-firewall dialogue box complains about:
sudo qubes-dom0-update redshift
...
Errors during downloading metadata for repository fedora:
Curl error 60: SSL peer certificat or SSH remote key was not OK for ...mirrors... (SSL certificate problem)
OK. I have just installed another QubesOS on a Workstation: the problem as described does not exist.
The Laptop discussed here is also a fresh install with no tweaks: the problem exists. I compared sys-net for both installations looking at Settings but did not see a diference.
Problem solved. The net stack has not been informed on the correct time. After waiting for an hour watching the clock, all the above dom0 commands work.
Respectfully disagree with moving entire thread to User Support. Redshift guide is useful no? Only my opinion but @BBro contribution belongs in guides imo. bestâŚ