<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Screen Arrangement on Jingyuan</title>
        <link>https://jingyuan-zheng.github.io/tags/screen-arrangement/</link>
        <description>Recent content in Screen Arrangement on Jingyuan</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-US</language>
        <copyright>Jingyuan Zheng</copyright>
        <lastBuildDate>Thu, 22 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://jingyuan-zheng.github.io/tags/screen-arrangement/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Move a Second Mac Display Above, Below, Left, or Right with Display Layout</title>
            <link>https://jingyuan-zheng.github.io/p/display-layout/</link>
            <pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate>
            <guid>https://jingyuan-zheng.github.io/p/display-layout/</guid>
            <description>&lt;img src=&#34;https://jingyuan-zheng.github.io/img/display-layout/featured.png&#34; alt=&#34;Featured image of post Move a Second Mac Display Above, Below, Left, or Right with Display Layout&#34; /&gt;&lt;p&gt;Display Layout is a native Mac utility that places a second extended display above, below, left, or right of the main display and centers it automatically.&lt;/p&gt;&#xA;&lt;p&gt;When a portable screen moves from one side of a laptop to another, the pointer should cross the edge that matches the physical setup. macOS Display Settings can arrange screens manually; &lt;a class=&#34;link&#34; href=&#34;https://github.com/Jingyuan-Zheng/DisplayLayout&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Display Layout&lt;/a&gt; offers a focused alternative for repeating four simple two-screen arrangements.&lt;/p&gt;&#xA;&lt;h2 id=&#34;exactly-two-extended-displays&#34;&gt;Exactly two extended displays&#xA;&lt;/h2&gt;&lt;p&gt;The supported setup is one main display and one secondary display in extended mode. Mirroring and configurations with more than two displays are rejected.&lt;/p&gt;&#xA;&lt;p&gt;The app changes only the secondary display&amp;rsquo;s position. It does not change resolution, refresh rate, scaling, or which display is primary. Those choices remain in macOS Display Settings.&lt;/p&gt;&#xA;&lt;p&gt;If you often move a portable display from one side of your Mac to the other, the four positions save a repeated drag in Display Settings.&lt;/p&gt;&#xA;&lt;h2 id=&#34;build-and-install&#34;&gt;Build and install&#xA;&lt;/h2&gt;&lt;p&gt;The repository provides source rather than a packaged Release. Requirements are macOS 14 or later and Xcode Command Line Tools.&lt;/p&gt;&#xA;&lt;p&gt;Download the project, review &lt;code&gt;bundle.sh&lt;/code&gt;, and run:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;chmod +x bundle.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;./bundle.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;The script installs &lt;code&gt;~/Applications/DisplayLayout.app&lt;/code&gt;. Connect exactly two screens, choose extended mode in macOS, then open the app from Applications, Finder, or Spotlight.&lt;/p&gt;&#xA;&lt;h2 id=&#34;apply-a-position-and-check-the-pointer&#34;&gt;Apply a position and check the pointer&#xA;&lt;/h2&gt;&lt;p&gt;Choose the secondary display&amp;rsquo;s desired location: above, below, left, or right. Apply the arrangement and move the pointer across the adjoining edges to confirm it matches your desk.&lt;/p&gt;&#xA;&lt;p&gt;For example, place a portable screen to the right of your MacBook and choose &lt;strong&gt;Right&lt;/strong&gt;. When you move it to the other side of the desk, choose &lt;strong&gt;Left&lt;/strong&gt;. If the pointer still exits from the wrong edge, check which display macOS currently treats as the main one.&lt;/p&gt;&#xA;&lt;p&gt;The app centers the secondary screen along the relevant axis. If you deliberately want a top-aligned, bottom-aligned, or offset arrangement, macOS&amp;rsquo;s manual controls may be a better fit.&lt;/p&gt;&#xA;&lt;p&gt;Different resolutions and scaling can make the perceived edge alignment less obvious. Check the pointer transition rather than assuming that two physical panels of similar size have identical logical dimensions.&lt;/p&gt;&#xA;&lt;p&gt;Automatic centering refers to the display areas on the macOS desktop, not perfect alignment of the physical bezels. For an exact offset, drag the displays manually in &lt;strong&gt;System Settings → Displays&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;language-and-repeated-use&#34;&gt;Language and repeated use&#xA;&lt;/h2&gt;&lt;p&gt;Settings support English and Simplified Chinese and an option to quit after applying a layout. That makes the app suitable for a short “move screen, apply position, continue working” routine.&lt;/p&gt;&#xA;&lt;p&gt;The repository also includes a Shortcut file, but opening the native app is sufficient for the basic workflow. Check the Shortcut before incorporating it into a larger automation.&lt;/p&gt;&#xA;&lt;p&gt;If you change the main display, reconnect different equipment, or add a third screen, revisit macOS Display Settings and the app&amp;rsquo;s applicability before reusing a previous routine.&lt;/p&gt;&#xA;&lt;h2 id=&#34;identify-the-main-display-before-choosing-a-direction&#34;&gt;Identify the main display before choosing a direction&#xA;&lt;/h2&gt;&lt;p&gt;Every direction is relative to the display macOS currently treats as main. That is not necessarily the built-in panel or the larger screen. If your external monitor is main, the MacBook panel can be the secondary display that moves. Choosing Right would then put the laptop panel to the right of the external monitor.&lt;/p&gt;&#xA;&lt;p&gt;On the first setup, confirm the main display in System Settings before opening the utility. Put a window on each screen and move the pointer between them to check the relationship. Once you understand which display is moving, everyday changes become much simpler as long as the main-display choice stays the same.&lt;/p&gt;&#xA;&lt;p&gt;Above and Below follow the same rule. If a portable display sits above the main screen, place the secondary above and test the main screen’s top edge. Do not infer the main display from where an application window happened to open; window placement and the main-display setting are separate.&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-only-part-of-an-edge-lets-the-pointer-through&#34;&gt;Why only part of an edge lets the pointer through&#xA;&lt;/h2&gt;&lt;p&gt;Imagine a main desktop area of 2560×1440 and a secondary area of 1920×1080. When arranged side by side and centered, the shorter display meets only the middle part of the taller display’s edge. Pushing the pointer outward near a top corner can hit a boundary. Move it toward the middle to cross.&lt;/p&gt;&#xA;&lt;p&gt;These are logical desktop dimensions, which may differ from the pixel counts printed on the panels. Scaling can give similarly sized screens different logical areas. The utility arranges those areas, making it useful when the relative direction is clear and automatic centering is sufficient.&lt;/p&gt;&#xA;&lt;p&gt;For top alignment, return to the manual arrangement in System Settings. For text that looks too small or an unclear picture, adjust scaling or resolution instead. Separating position, size, and sharpness prevents repeatedly applying a layout to solve a different display problem.&lt;/p&gt;&#xA;&lt;h2 id=&#34;make-arrangement-part-of-your-desk-routine&#34;&gt;Make arrangement part of your desk routine&#xA;&lt;/h2&gt;&lt;p&gt;A repeatable sequence is: connect the display, confirm extended mode, choose its position, test the pointer, and continue working. Quit-after-apply suits a utility you only need briefly when moving a screen. Leave the window open while learning the controls, then enable automatic exit when the behavior feels familiar.&lt;/p&gt;&#xA;&lt;p&gt;If the app reports the wrong display count, inspect the displays participating in the desktop. Another connected screen or an active virtual display is worth checking. The utility deliberately requires exactly two displays; rejecting a configuration does not imply that a monitor is broken.&lt;/p&gt;&#xA;&lt;p&gt;After reconnecting, waking, or changing the main display, inspect the system’s current arrangement before applying a position again. This utility does not save a complete profile of resolutions, refresh rates, and multi-location settings. Its focused job is the relative position of the two displays currently in use.&lt;/p&gt;&#xA;&lt;h2 id=&#34;a-small-tool-for-one-recurring-adjustment&#34;&gt;A small tool for one recurring adjustment&#xA;&lt;/h2&gt;&lt;p&gt;Display Layout changes the display position locally and makes no network request. After changing the main display or connection, check the arrangement in macOS Display Settings before using it again.&lt;/p&gt;&#xA;&lt;p&gt;For another small Finder adjustment, see &lt;a class=&#34;link&#34; href=&#34;https://jingyuan-zheng.github.io/p/finder-folder-sizes/&#34; &gt;Finder Folder Sizes&lt;/a&gt;. Build instructions and the two-display restrictions are documented in the &lt;a class=&#34;link&#34; href=&#34;https://github.com/Jingyuan-Zheng/DisplayLayout#readme&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;project README&lt;/a&gt;.&lt;/p&gt;&#xA;</description>
        </item></channel>
</rss>
