sudo qubes-dom0-update redshift
Then you can do: redshift -l lat:lon &
Then just to quickly test, maybe adjust the system time, and see how it turns down the intensity of the screen.
Or a command-line switch to redshift.
Some say that redshift is too "red" in colour, you may want to experiment with the settings.
Please let's know how it turns out!
The "redness" can easily be tweaked! (And also brightness, which is a must for me).
I normally prefer to use it (through a script) as follows:
redshift -l <long:lat> -t 6500:2700 -b 1.0:0.6
which I like to add to my crontab on other systems as:
@reboot "<path_to_script>/redshift.sh" 2>&1
Unfortunately doesn't work on qubes (other systems seem to suffer from the @reboot bug too?).
The -t option sets the colour temperature (normal:redshifted), while the -b sets brightness (normal:redshifted). I found the values by experimentation and comparing it with values from f.lux (on *cough* windows *cough*).
Don't forget to kill the process first after you've changed the values or the two processes might fight over dominance...
For me this is the ideal setting on all my linuxes most of the time. I do tend to switch to something between the two temperatures/brightnesses when I'm getting more photosensitive and still need to 'work'.
On Tuesday, January 24, 2017 at 6:17:02 PM UTC+1, Loren Rogers wrote:
> Thanks for the info - this worked for me! I managed to get it to start at login by creating a new item in System Tools > Session and Startup > Application Autostart.
I went down this route too on Qubes (and one other linux) at least, as the @reboot didn't work.
The only "tweak" I still need is the mouse pointer, as it is unaffected by redshift on my Qubes.
Anyone any ideas about that?
Thank you for the suggestion. There wasn't an xorg.conf on my system and generating one "broke" my desktop (only tty worked). I guess I'll have to live with the brighter cursor until I've smartened up on how to get the graphics drivers to work with xorg.conf.
A bit off-topic:
My laptop has an on-board Intel HD and additional Nvidia GT970m. I was able to install Qubes by switching the graphics to Discreet mode in the BIOS. I have read up on how to install Nvidia drivers, but apparently I didn't need them, unless I want to generate an xorg.conf.
My previous linux installation on this laptop didn't like the nouveau drivers and was only willing to play nicely if I installed the Nvidia drivers, but somehow it also worked with the on-board intel HD while being in MSHybrid mode (BIOS). I'm still unsure what exactly the MSHybrid mode does, switching it to Discreet seems to disable the on-board Intel HD as lspci only lists the Nvidia.
Maybe one day I'll figure it all out. Having a fully functioning Qubes laptop with a wonky mouse pointer is more than I expected. :)