Live data from Hacker News

macOS CLI tool to configure multi-display resolutions and arrangements

github.com

41–50 of 88 posts

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#41
post #40
post #10

I recently launched some macOS Shortcuts in Lunar ( https://lunar.fyi/#shortcuts ) that can arrange monitors in pre-defined layouts like: 2 Screens Vertically ■̳̲ 2 Screens Horizontally ⫍⃮݄⫎⃯ 4 Screens in a 3-above-1 configuration ⫍⃮■̳̻⫎⃯ 3 Screens in a 2-above-1 configuration ⫍‗⫎ 3 Screens Horizontally ⫍⃮▬̲⫎⃯ It's not the same as DisplayPlacer but for a lot of people this could be enough. They are free and can be us…

Lunar is awesome. Just FYI there is a link in the following text which doesn't work, so i can't actually see an examples. > Check out the "Shortcuts" page to find some useful pre-made shortcuts that you can add with a click. Is it possible to snapshot exact screen positioning using shortcuts? I'd like to take a snapshot of all my settings (orientation, refresh rate, hdr settings, and _exact_ screen positioning) and r…

Thanks! That "Shortcuts" page is still WIP, I hoped to launch it the same day I released the update but life happened.

No, Lunar doesn't have that snapshot functionality because it's really hard to make it work for every possible setup. UUIDs can change between connections and the user can be left with an unusable snapshot. Or, because of how the HDMI/DP connection was negotiated, some display modes might not be available until a disconnect/reconnect cyle.

And it's impossible to detect the problem and convey it to the user when it happens, it mostly looks like an app bug no matter what I try.

But I am planning to add it in the future, at least in a rudimentary form.

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#42
post #37

This hasn't been updated in a while. What I really want from this kind of tool is the ability to take a snapshot of my ALL display settings, and just click something on my desktop or bind a keyboard shortcut, or run a command which will restore it - exactly how it should be. This would include, exact screen positioning, refresh rate, resolutions etc. I don't know what triggers it, but MacOS is really bad at changing…

There’s a tool called “Later” that does this:

https://getlater.app/

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#43

I really liked the display settings built-in to MacOS, very straightforward. Unfortunately, with Ventura, they now hid the arrangement in a separate options window that takes extra clicks to reach. A step backwards :/

Settings in Ventura are a step back. Just…the whole thing. It’s gracious to call it an amateur effort.

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#45
post #35

The one feature I really want for window management on macOS is the ability to split fullscreen applications horizontally, for my vertical monitor. macOS lets you split a fullscreen app vertically so you can have two on the same screen, but when a monitor is oriented vertically you can still only split the screen vertically, not horizontally. Sigh.

I think spectacle app can help. https://github.com/eczarny/spectacle

+1 been using Spectacle for years and it work perfectly.

However I just saw that the project is no longer maintained as of... two days ago ! I guess I'll have to find an alternative down the road.

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#46
post #9

Earlier quoted context omitted.

Can you elaborate? I have this problem every day.. macOS just seems incapable of remembering my display arrangement.

It is typically because you have more than one of the same monitor with identical EDID information. Documented and explained here: https://spin.atomicobject.com/2018/08/24/macbook-pro-externa... Possible fix: https://gist.github.com/ejdyksen/8302862?permalink_comment_i...

I used to have two otherwise identical displays, but it still does it for me now that all of my displays are different. Notably, I think this stuff happens more when you have 3+ monitors. I don't remember having as many issues with just two displays.

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#47
post #45
post #35

Earlier quoted context omitted.

I think spectacle app can help. https://github.com/eczarny/spectacle

+1 been using Spectacle for years and it work perfectly. However I just saw that the project is no longer maintained as of... two days ago ! I guess I'll have to find an alternative down the road.

Echoing what umberthreat34g said, check out Rectangle (https://github.com/rxhanson/Rectangle).

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#48

I really liked the display settings built-in to MacOS, very straightforward. Unfortunately, with Ventura, they now hid the arrangement in a separate options window that takes extra clicks to reach. A step backwards :/

I noticed this as well. Now if i have to rearrange i try to remember to open spotlight (CMD+Space) and type "arrange".. will take you straight to the option.

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#49

I really liked the display settings built-in to MacOS, very straightforward. Unfortunately, with Ventura, they now hid the arrangement in a separate options window that takes extra clicks to reach. A step backwards :/

I noticed this as well. Now if i have to rearrange i try to remember to open spotlight (CMD+Space) and type "arrange".. will take you straight to the option.

Whoa, never thought to try Spotlight for this, thanks for the hint! I was mostly using Option+BrightnessUp then clicking on Arrange.

Re: macOS CLI tool to configure multi-display resolutions and arrangements

#50
post #14

I really think this needs some screenshots.

Would you even see what it does in a screenshot? I think you would need a photo.

well when saying screenshot I of course figured that the idea of multiple screenshots, perhaps also with some explanatory text, would be implied, but yeah sure some photos would also be good.
Post reply on HN