Open unxed opened 7 years ago
+1 Would also appreciate that idea! Would like also at day time take temperature down. Could not find redshift-gtk configuration file, otherwise would change it manually. Certainly changing graphically (from systray icon) would be appreciated.
I believe you can create the configuration file in ~/.config/redshift.conf
or create it anywhere and use redshift -c
to load it 🙂. There is a config file example in the manpage.
already exists
-O TEMP One shot manual mode (set color temperature)
redshift 1.12
unfortunately it's bugged: subsequent executions make it go more red or more blue
redshift -O 3000
(run it twice to get more red the second time)
redshift -O 8000
(run it twice to get more blue the second time)
workaround: redshift -x
to reset to 6500K prior to running with -O
.
It seems to me it's using current gamma values rather than some default 6500K(or whichever) when computing the target kelvin rgb gamma values.
I'll look into it...
well, I guess maybe this was intended? but the workaround(I'll say) is to also use "-P"
-P Reset existing gamma ramps before applying new color effect
So this sets/keeps the right color temperature: redshift -O 3000 -P
EDIT: and for this to work on tty/console: redshift -O 3000 -P -m drm
otherwise it assumes -m randr
EDIT2: I've just realized that this issue is about redshift-gtk
(GTK!) whatever that is, presumably different than redshift
from command line. Sorry for the noise then.
Blocked on #54. I think D-Bus or similar is the only sensible solution to more interactive controls like suggested here.
or to set time of a day to set color temperature according to insolation in that time in current location