BetterDisplay icon indicating copy to clipboard operation
BetterDisplay copied to clipboard

Ability to easily create and switch display layout protection presets

Open waydabber opened this issue 2 years ago • 18 comments

MacOS stores the last saved layout for a given combination of active displays. This is great but sometimes it is annoying. Would not it be great to be able to save a specific display layout (display location, main/extended status for displays and mirroring) configuration and restore it as needed?

The function should be intelligent - if one or more of the displays are missing or not connected, the function still could restore the settings and adapt to the missing displays.

waydabber avatar Mar 06 '22 17:03 waydabber

Also, layouts could be set as preferred - so if a new display is connected or there is some change or during app startup BetterDummy would restore the preferred configuration - connecting a new display would not totally mess up the desktop layout anymore.

waydabber avatar Mar 06 '22 17:03 waydabber

+1 for this, would be great to have this included in BetterDummy. My displays change the window layout nearly every time the external one sleeps, I currently cope with that by using the window manager Moom, which can save individual layouts and have them restored with a keyboard shortcut.

mbennoer avatar Apr 12 '22 07:04 mbennoer

This is definitely a priority on the todo list. My plan is to have the ability save these data as a profile to be recalled:

  • Enabled dummies
  • Mirroring configuration
  • Resolutions/refresh rate
  • HDR status
  • Location of displays in the display configuration
  • Main display status
  • Orientation of the display

I'd like to make the various configurations available in a menu for quick access and also hotkey assignable. I'd also like to give the ability to self-recover if one or more displays are unavailable. Also there would be a hotkey to update the savedata for a configuration.

waydabber avatar Apr 12 '22 14:04 waydabber

Presets could be invoked via menu, hotkey or tied to applications and application window state (full screen or not). See this discussion: https://github.com/waydabber/BetterDisplay/discussions/817#discussioncomment-3331646

waydabber avatar Aug 05 '22 10:08 waydabber

I would love this feature. I'm trying out this application with a mix of my laptop, a TV, and a monitor, and while the configuration ability is amazing, my presets for arrangement, resolution, etc. are consistently forgotten. Given how much time it can take to dial these in, a way to quickly recover would be much appreciated and convert me into a paying customer!

mankittens avatar Aug 18 '22 08:08 mankittens

Yes, still on it, will get there eventually! :)

waydabber avatar Aug 18 '22 10:08 waydabber

Hey, just wanted to say thank you for such a great tool, and that M1 users could really use that feature especially when displaylist is not working anymore :)

Having your monitors layout messed up after sleep/restart/disconnect and need to arrange them manually every time is extremely annoying :(

alex-popov-tech avatar Jan 19 '23 14:01 alex-popov-tech

Right, this is continuously on my todo list but I am getting tangled up with all the other stuff that needs to be done. Will get there. But will not put a milestone on it anymore unless I actually I know I can finish it properly. :) The same with syncing which is an other major feature I want to do right.

waydabber avatar Jan 19 '23 14:01 waydabber

Will this also impact arrangements of multimonitor. Sometimes when the monitor with better display is connected, it moves the laptop display around @waydabber

ShravanSunder avatar Aug 23 '23 13:08 ShravanSunder

+1

mikewolf1127 avatar Aug 23 '23 18:08 mikewolf1127

Yes, the goal should be to restore multi-monitor arrangements if for some reason displays are mixed up.

waydabber avatar Aug 23 '23 19:08 waydabber

@waydabber do you know any workaround to automate switching the source of a mirror from one display to another?

matkoch avatar Oct 24 '23 15:10 matkoch

Yes, but it involves coding so that might not be very useful. When I finally add CLI support it should have commands eventually to manage mirroring.

waydabber avatar Oct 24 '23 18:10 waydabber

"coding" is fine :) can you give some more hints on that?

matkoch avatar Oct 24 '23 19:10 matkoch

Sure, take a look at https://developer.apple.com/documentation/coregraphics/1454531-cgconfiguredisplaymirrorofdispla and other associated functions. You can find a lot of code examples out there I think utilizing these.

waydabber avatar Oct 25 '23 12:10 waydabber