Repository navigation
LayoutKeeper 0.6.12
LayoutKeeper 0.6.12
改动
- 按机身接口自动切换显示器排列:同一块显示器插在左边 USB-C 口时放在旁边、插在右边 USB-C 口或 HDMI 口时放在上方的话,现在可以在「菜单栏 → 显示器排列」或「设置 → 显示器」里点「插在 USB-C 口 #1 时自动用…」。下次插到对应接口时会自动切换排列,且不会触发多余的窗口恢复(issue #1)。
- 防休眠(Keep Awake):菜单栏与「设置 → 通用」新增「防休眠」,可选「息屏不休眠(允许黑屏,合盖自动保活)」或「常亮不休眠」。解决开启了 macOS「显示器关闭时防止自动睡眠」后,在电池供电、插电源线短暂唤醒(Notification Wake)或合盖外接屏黑屏(Clamshell Sleep)时仍然休眠断网的问题,保持 Codex、SSH 和远程连接不断线。
- 区分序列号相同的同型号显示器:部分显示器(如部分三星、LG 型号)上报的数字序列号是固定占位值,现在会自动回退读取 EDID 里的字母序列号来区分,已有正常序列号的显示器不受影响。
- 连续自动补桌面更稳:一次补多个桌面时,等待调度中心完成前一个桌面的动画再按「+」,不会再因为界面短暂刷新而中途停在第一个桌面。
- 合盖期间新建的桌面也会记下:合上笔记本盖子使用外接屏时,在调度中心新建的桌面和上面的窗口现在会正常纳入记录。
- 锁屏与息屏时不再空跑扫描:锁屏、屏幕休眠或刚唤醒的前几秒直接跳过后台窗口扫描;自动恢复发现所有开着的窗口都已在原位时,不再因为旧布局里已关闭的窗口弹出常驻通知。
更新
0.6.1 及以上:菜单栏 → 检查更新…,辅助功能权限保持有效。
下载哪个文件?
| 你的 Mac | 下载 |
|---|---|
| Apple 芯片(M1 / M2 / M3 / M4 / M5…) | LayoutKeeper-0.6.12-AppleSilicon.dmg |
| Intel 处理器 | LayoutKeeper-0.6.12-Intel.dmg |
.zip 和 appcast-*.xml 供应用内更新使用。自签名、未经 Apple 公证:第一次打开请右键 → 打开。
English
- Switch display arrangement by physical Mac port: if the same monitor sits beside your MacBook on one USB-C port and above it on another USB-C or HDMI port, bind the current arrangement to that port in Menu Bar → Display Arrangement or Settings → Displays. Next time you plug the monitor into that port, LayoutKeeper switches the arrangement automatically before restoring windows (issue #1).
- Keep Awake: new Keep Awake option in the menu bar and Settings → General, with Keep System Awake (Allow Screen Off; Clamshell Safe) and Keep Screen & System Awake. Prevents macOS from still going to sleep on battery power, after a cable-plug Notification Wake, or 5 seconds after the external display turns off with the lid closed (Clamshell Sleep), keeping Codex, SSH, and remote sessions connected.
- Tells apart same-model monitors with placeholder numeric serials: when a monitor reports
0or0x01010101as its numeric serial number, LayoutKeeper falls back to the alphanumeric serial in its EDID0xFFdescriptor. Existing monitors with real numeric serials keep their layout keys unchanged. - More reliable multi-desktop auto-add: waits for Mission Control to finish rebuilding its accessibility tree between consecutive
+clicks when adding several missing desktops in a row. - Keeps new desktops created in clamshell mode: desktops added on the external monitor while the MacBook lid is closed are now appended to the desk strip and their windows are recorded.
- Skips background scans while locked or asleep: no longer runs timed-out AX scans while the screen is locked or asleep, and automatic restore stays quiet when all open windows are already in place.
- Updating: from 0.6.1 or later use Check for Updates…; Accessibility permission is kept. Self-signed, not notarized: right-click → Open on first launch.