Skip to content

Added mirror of displays - #22

Open
desdic wants to merge 3 commits into
fd0:masterfrom
desdic:same_as
Open

Added mirror of displays#22
desdic wants to merge 3 commits into
fd0:masterfrom
desdic:same_as

Conversation

@desdic

@desdic desdic commented Aug 12, 2019

Copy link
Copy Markdown

Small patch for creating mirror of displays

Comment thread doc/grobi.conf Outdated
outputs_present: [eDP1, DP2]
outputs_same_as:
- output: DP2
same_as: eDP1

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, this rule looks odd. You are trying to configure two displays showing the same content, right? How about we add configure_mirror instead of using configure_row and outputs_same_as? This would simplify the rule a lot:

outputs_present: [eDP1, DP2]
configure_mirror: [eDP1, DP2]

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the name configure_mirror :) but if I add them to a list (like outputs_present) it would indicate that you could specify more than 2 displays but that is not really possible when mirroring. I can do the change if you still prefer it to be like output_present

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, are you sure that's the case for all graphic cards? I can imagine it's a common limitation (only two outputs in mirror mode), but I guess there are devices where three is also possible.

I'd prefer configure_mirror, you can then remove the code for outputs_same_as, which makes the configuration simpler :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have a look at it later and do a fix :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed and I rebased it the newly added features

@seqizz

seqizz commented Sep 9, 2021

Copy link
Copy Markdown

Sorry for bumping, is there a way to mirror the screens on currently released version, or should I use this MR?

@DamienCassou

Copy link
Copy Markdown

I would also appreciate this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants