waydabber / BetterDisplay

Unlock your displays on your Mac! Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, extra dimming, PIP/streaming, EDID override and lots more!
https://betterdisplay.pro
19.4k stars 342 forks source link

Aggressive disconnect - option to auto-disconnect a display upon detection (or restore disconnect state upon app startup) #1846

Closed waydabber closed 1 year ago

waydabber commented 1 year ago

Discussed in https://github.com/waydabber/BetterDisplay/discussions/1845

Originally posted by **miranda** May 20, 2023 Hi, I have BetterDisplay Pro and I was hoping it could be configured to remember a display as disabled at startup. I have unchecked "Auto-connect all displays on startup" but it doesn't seem to have an effect... MacOS (Ventura) insists on reconnecting all displays every time. For now all I can do is set the unwanted display to mirror mode, but I'd rather be able to permanently disable it. Maybe this seems like a weird request but I only want to use this displayport output when I dual boot into Linux. Thanks!

For this an option would be needed to auto-disable a display on initial detection.

sgrienen commented 1 year ago

Fully agree on that one, I use a dual monitor setup and I've plugged both in a way I can use Mac and PC on one or extend the other when I don't need one of them. But each time the Mac goes into sleep, when it wakes up, it re-enables by default both monitor, which is not what I'd like to see. Many thanks in advance ! PS : I've never found any software being able to do so, and I'll obviously pay for a pro license if this would be implemented.

waydabber commented 1 year ago

@sgrienen - for turning off a connecting display on wake you can try this:

Screenshot 2023-09-07 at 19 56 31
sgrienen commented 1 year ago

Hey, thanks for answering so quickly @waydabber ! It seems to be working, I'll continue testing in the coming days, but it does really look promising !

Thanks again !

Le jeu. 7 sept. 2023 à 19:57, waydabber @.***> a écrit :

@sgrienen https://github.com/sgrienen - for turning off a connecting display on wake you can try this: [image: Screenshot 2023-09-07 at 19 56 31] https://user-images.githubusercontent.com/37590873/266402730-bb1e80ce-1f90-41aa-84c7-dc4a09173d9a.png

— Reply to this email directly, view it on GitHub https://github.com/waydabber/BetterDisplay/issues/1846#issuecomment-1710563972, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWIQMVXPOX7ZNPAY2FSKELXZIDG7ANCNFSM6AAAAAAYI6DE6Y . You are receiving this because you were mentioned.Message ID: @.***>

waydabber commented 1 year ago

I'll add a per display option to keep a display disconnected (disconnect instantly upon detecting it) until the user manually connects it. This should also solve issues for displays that seem to connect/disconnect multiple times during wake breaking the "disconnect reconnected displays upon wake" option.

sgrienen commented 1 year ago

Fantastic ! Now the next challenge for me is to find an option allowing me to switch automatically to the right input when I disconnect my PC from the USB-C, so when I enable the secondary display on the Mac using BetterDisplay, it switches to DisplayPort. I thought the screen would be clever enough to do that automatically when no source can be found anymore, but it seems it doesn't... Is there any option via DDC I could use for that ?

Many many thanks !

Le ven. 8 sept. 2023 à 16:33, waydabber @.***> a écrit :

I'll add a per display option to keep a display disconnected (disconnect instantly upon detecting it) until the user manually connects it. This should also solve issues for displays that seem to connect/disconnect multiple times during wake breaking the "disconnect reconnected displays upon wake" option.

— Reply to this email directly, view it on GitHub https://github.com/waydabber/BetterDisplay/issues/1846#issuecomment-1711771313, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWIQMRCBYRIWR42BTSKBD3XZMUCZANCNFSM6AAAAAAYI6DE6Y . You are receiving this because you were mentioned.Message ID: @.***>

waydabber commented 1 year ago

Changed how this works a bit - the new "Aggressive disconnect" feature should enforce the existing disconnect feature.

Screenshot 2023-09-09 at 16 05 01
waydabber commented 1 year ago

@sgrienen - not that I know of. You can try assigning a keyboard shortcut to DDC inputs and see if it works. I plan to add DDC control features to macOS Shortcuts later - with that you could incorporate commands to any custom workflow you create.