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

[QUESTION] How to not extend to second monitor? #271

Open
dancaer69 opened this issue Aug 21, 2023 · 2 comments
Open

[QUESTION] How to not extend to second monitor? #271

dancaer69 opened this issue Aug 21, 2023 · 2 comments

Comments

@dancaer69
Copy link

Hello, I just tried cage to run an application standalone and it extends the screen to the second monitor. I only want to use the primary monitor. I found some issues about the -m option, but I don't know which parameters it takes. I found about first and last, but when I use first it doesn't change anything. When I use last the application run only on the 2nd monitor. Is there any other option, so to run only on the first monitor?

@joggee-fr
Copy link
Collaborator

Hi @dancaer69,
-m option for Cage does not manage first or an output name argument. However, you may use tool based on the wlr-output-management protocol just like wlr-randr (or kanshi) to disable the second output. Some hints are available in issue #257.

@Mikilio
Copy link

Mikilio commented Aug 26, 2023

This is really unreliable. My monitor for example turn itself on after being turned off by wlr-randr and comes back with the wrong resolution

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

No branches or pull requests

3 participants