You are not logged in.
Hello everybody!
A few days ago I noticed that 'redshift' is disabled when my laptop screen goes off.
I have 'redshift' enabled at login. I manually enable 'xset dpms' with a 'xs' command
xs() {
xrandr --dpi 203 ; xset -b ; xset dpms 321 ; light -S 55 ;}After I turn the screen on again 'redshift' seems not active. Task manager says it is running but the screen is blue-ish. Either the temperature is changed or redshift is kind of suspended.
Executing 'redshift -x' seems to fix the problem - after a couple of flickers the screen turns red-ish again.
How to make 'xset dpms' to not affect 'redshift'?
Thank you in advance!
Last edited by amaro (2020-05-19 09:51:59)
Offline
redshift alters the gamma ramps on the X11 server, several other tools can and do manipulate those as well (eg. xcalib, nvidia-settings, …)
Just altering/activating DPMS, DPI or the bell should™ not impact them, but "light" (backlight tool?) might.
If you run redshift continuously, it should™ keep updating the ramps w/ the next step.
=> first isolate which call in your function actually resets the gamma ramps (eg. kill the contiuous redshift, run "redshift -PO 4500" to set the screen to "reddish" and then run the indiviual commands. My money is on "light")
Offline
You are right, seth. It was 'light'.
Moved 'light' to a new function and disabled 'redshift' at login.
Thank you, seth!
xs() {
xrandr --dpi 203 ; xset -b ; xset dpms 312 ;}
rx() {
redshift -PO 3900 ; light -S 55 ;}Offline