Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot limit to one randr output #26

Closed
mbana opened this issue Jan 21, 2014 · 3 comments
Closed

Cannot limit to one randr output #26

mbana opened this issue Jan 21, 2014 · 3 comments
Labels

Comments

@mbana
Copy link

mbana commented Jan 21, 2014

Using the example http://jonls.dk/redshift/:

[vidmode]
screen=0

in ~/.config/redshift.conf still applies redshift to my second monitor. I've tried variations of this, but they have no effect. I want to only apply redshift to my first screen. Not that it should make any difference but I use gtk-redshift to launch redshift.

Side note: If I start two instances of redshift then terminate the second, it segfaults.

$ redshift -V
redshift 1.7
@jonls
Copy link
Owner

jonls commented Jan 24, 2014

I think this is the same issue as #23 which probably shouldn't have been closed. In randr there is the concept of screens and outputs and at the moment Redshift can only affect whole screens individually. What I think you really want is to affect each output individually. You can run xrandr for a list of screens and outputs.

@maandree
Copy link
Contributor

Both of your monitors are probably in the same X screen (that is usally the case provided that they are attached to the same graphics card). Vidmode can only control the primary monitor in each screen. By using RandR instead you can select any monitor in any screen.

[redshift]
adjustment-method=randr
[randr]
screen=0
crtc=1
; selects the secondary (crtc=1) monitor in the first screen (screen=0).

@jonls
Copy link
Owner

jonls commented Aug 20, 2017

This should be working now with the crtc=... option in the randr gamma adjustment method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants