Repository navigation
LayoutKeeper 0.6.0
LayoutKeeper 0.6.0
新功能
- 全新主窗口(两栏):左侧列出所有保存过的屏幕(接着的标“当前”,没接上的变淡并写“未连接”),右键可重命名或删除(删除可撤销);右侧是所选屏幕的卡片、版式和历史版本。
- 版式:同一块屏幕可以存多套命名布局,例如“写代码”“开会”。点 另存为版式… 保存当前布局(或某个历史版本),之后点 应用 一键切换并恢复窗口,提示里可撤销。版式一直保留,不会被自动清理。
- 菜单栏「切换版式」:直接在菜单栏切换当前外接屏的版式,勾选的是正在使用的那个。
- 历史版本:每块屏幕自动保留最近 5 个旧版本,每行标明来源:「来自:写代码」或「手动保存」。可以预览、恢复(可撤销),也可以右键加名字,让它永久保留。
- 自动恢复用哪个布局? 这块屏幕最近一次保存或应用的布局。
- 「接上屏幕时」改名:关闭恢复 / 先询问恢复 / 自动恢复(菜单栏和设置 → 通用一致),行为不变。
- 移除设置里的“高级”页(旧的按窗口组手动恢复和演示工具)。按住 Option 时菜单里的设置项现在是“诊断…”。
升级后已有布局照常可用;旧版保留的上一版(.previous.json)会自动成为第一条历史版本。
下载哪个文件?
点屏幕左上角 苹果菜单 → 关于本机,看“芯片”(或“处理器”)一行:
| 你的 Mac | 下载 |
|---|---|
| 芯片显示 Apple M1 / M2 / M3 / M4 / M5…(Apple 芯片) | LayoutKeeper-0.6.0-AppleSilicon.dmg |
| 处理器显示 Intel Core … | LayoutKeeper-0.6.0-Intel.dmg |
Intel 版说明: 交叉编译构建,已核对为 x86_64 架构、最低 macOS 14,但尚未在真实 Intel Mac 上测试。
安装 / 升级
先从菜单栏退出正在运行的 LayoutKeeper,打开 .dmg,把 LayoutKeeper 拖到“应用程序”文件夹并选择替换。
首次打开(未经 Apple 公证)
本版本为 ad-hoc 签名,未经 Apple 公证(not notarized)。任选一种方式:
- 在“应用程序”中右键(或按住 Control 点按)LayoutKeeper → 打开,再点“打开”。
- 或先双击一次,然后前往 系统设置 → 隐私与安全性,点 “仍要打开”。
- 或在终端运行:
xattr -dr com.apple.quarantine /Applications/LayoutKeeper.app
辅助功能权限
需要“辅助功能”权限来读取和移动窗口(系统设置 → 隐私与安全性 → 辅助功能)。替换 ad-hoc 签名的旧版本后,系统可能要求重新打开该开关;若显示已打开但不生效,先用“−”移除 LayoutKeeper 再重新添加。
系统要求
macOS 14 或更新;跨桌面(Space)恢复需要 macOS 26 或更新(启动时自动检测)。
SHA-256
b60493ecfda75338b1e41fddc1a32567fa5a9eaff32319c8442bf5e389f1bab5 LayoutKeeper-0.6.0-AppleSilicon.dmg
f7fd25683a3be15fefa064e6d09faa3172735cf31bd7115ca7e04ce2b07d9f97 LayoutKeeper-0.6.0-Intel.dmg
English
- New two-column main window: saved monitors on the left (connected one marked, disconnected ones dimmed; rename/delete via right-click, delete is undoable); the selected monitor's card, named layouts and history on the right.
- Named layouts (版式): keep several named layouts per monitor (e.g. "coding", "meeting"); Save as layout… from the current layout or a history version, then Apply to switch and restore windows in one click (undoable). Never auto-deleted.
- Menu bar "Switch layout" submenu for the connected monitor.
- Version history: last 5 versions per monitor, each tagged with its origin (a named layout or a manual save); preview, restore (undoable), or label a version to keep it permanently.
- Automatic restore uses the monitor's most recently saved or applied layout.
- Renamed reconnect options: Off / Ask / Automatic restore (behaviour unchanged). The Settings "Advanced" tab has been removed.
- Which file? Apple menu → About This Mac. "Chip: Apple M…" →
LayoutKeeper-0.6.0-AppleSilicon.dmg; "Processor: Intel…" →LayoutKeeper-0.6.0-Intel.dmg(verified x86_64 / macOS 14+, not tested on real Intel hardware). - Install/upgrade: quit the running copy, open the DMG, drag to Applications (replace).
- First launch (not notarized): right-click → Open; or System Settings → Privacy & Security → "Open Anyway"; or
xattr -dr com.apple.quarantine /Applications/LayoutKeeper.app. - Accessibility: after replacing an ad-hoc-signed build you may need to re-enable (or remove and re-add) LayoutKeeper in Privacy & Security → Accessibility.
- Requirements: macOS 14+; cross-Space restore needs macOS 26+. GPL-3.0-only.