redshift icon indicating copy to clipboard operation
redshift copied to clipboard

Support screens on windows

Open adraz98 opened this issue 4 years ago • 3 comments

redshift.conf.txt

Redshift doesn't allow me to ensure that the screen-modifications only get applied to my built-in screen. When i set "screen=0" in the redshift.conf in the wingdi section, it doesn't allow me to start. Please find attached my used redshift.conf file.

Thanks in advance for the help

adraz98 avatar Mar 31 '20 17:03 adraz98

windows has a builtin night light feature: https://support.microsoft.com/en-us/help/4027563/windows-10-set-your-display-for-night-time

geofflangenderfer avatar Apr 20 '20 21:04 geofflangenderfer

Screens are not supported on Windows currently. The help option for the adjustment method can tell you which options are available for each adjustment method (no options are available for wingdi): https://github.com/jonls/redshift/blob/master/src/gamma-w32gdi.c#L124

jonls avatar Jun 14 '20 02:06 jonls

As one of the lone Windows users: Would it be possible to fail in a more understandable way? Perhaps the sample configuration file or the help messaging could explain that randr doesn't exist on Windows, and that wingdi doesn't support screen specification?

Unknown method parameter: `screen'.
Failed to set wingdi option.
Try `-m wingdi:help' for more information.

This was as far as I got on my own before I started searching through GitHub and ended up finding this issue. I'm not sure where it would be best to inform users of this, but... perhaps a start?

Understandably Windows is not prioritized for this project, but I must say that f.lux beats Redshift in the UX-on-Windows department. I guess that's the price I pay for not ditching Windows already.

roastchicken avatar Feb 01 '21 00:02 roastchicken