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

Enabling Screens that are Off #126

Open
cburgdorfer opened this issue Sep 14, 2023 · 6 comments
Open

Enabling Screens that are Off #126

cburgdorfer opened this issue Sep 14, 2023 · 6 comments

Comments

@cburgdorfer
Copy link

Great tool, thanks for building displayplacer!

In your documentation you say:

If you disable a screen, you may need to unplug/replug it to bring it back. However, on some setups, you can re-enable it with displayplacer "id: enabled:true"

Do you have more information on "some setups" ? I'm trying to automatically switch off screens at the end of the day and switch them back on in the morning. Switching off works like a treat - great! But then, I can't seem to turn them on anymore. But perhaps I can implement a different setup somehow?

@idvorkin
Copy link

Any insights on this - right now I can't get my laptop screen back on :(

@cburgdorfer
Copy link
Author

At the end i just used caffeinate and pmutils

@brettinternet
Copy link

@cburgdorfer How do caffeinate and pmutils solve this?

@cburgdorfer
Copy link
Author

@brettinternet you can use the caffeinate command in the command line to wake the machine up/prevent it from going to sleep. And then the pmset displaysleepnow to make the screen(s) to go to sleep.

@brettinternet
Copy link

Thank you @cburgdorfer, I see what you mean now. I use this sleep the monitors briefly to allow another input to take control of one of the monitors.

pmset displaysleepnow
sleep 3
caffeinate -u

@realav
Copy link

realav commented Jul 15, 2024

I also want to archive this, but displayplacer "id:<id> enabled:true is not working for the built-in display of my M1 MacBook after disabling it using displayplacer "id:<id> enabled:false.

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

4 participants