惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Cyberwarzone
Cyberwarzone
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
小众软件
小众软件
Recent Announcements
Recent Announcements
博客园 - 三生石上(FineUI控件)
Security Archives - TechRepublic
Security Archives - TechRepublic
W
WeLiveSecurity
Cloudbric
Cloudbric
博客园 - 司徒正美
美团技术团队
N
News and Events Feed by Topic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
PCI Perspectives
PCI Perspectives
宝玉的分享
宝玉的分享
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
Help Net Security
Help Net Security
Last Week in AI
Last Week in AI
S
Schneier on Security
N
News | PayPal Newsroom
B
Blog RSS Feed
L
LINUX DO - 最新话题
T
Troy Hunt's Blog
S
Secure Thoughts
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
L
Lohrmann on Cybersecurity
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Tenable Blog
S
Securelist
L
LangChain Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
I
InfoQ
H
Heimdal Security Blog
Cisco Talos Blog
Cisco Talos Blog
F
Full Disclosure
Y
Y Combinator Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
K
Kaspersky official blog
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
阮一峰的网络日志
阮一峰的网络日志
C
Cisco Blogs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
How to Restore Your macOS Workspace Automatically: Apps, Windows, Spaces, and Browser Profiles
Nghia Luong · 2026-05-05 · via DEV Community

Updated May 2026: Now covers virtual desktop (Spaces) restoration and iCloud sync across multiple Macs, both shipped in ShiftPlus 1.3.

TL;DR

  • A complete macOS workspace includes apps, window layouts, browser profiles, virtual desktops, and terminal state. Native macOS saves almost none of it.
  • Most third-party tools cover one slice: Stay and Spencer handle window layouts, Shift handles browser profiles, none handle Spaces.
  • ShiftPlus captures all of it in one profile and restores it with a hotkey, including pinning apps to specific desktops.
  • iCloud sync makes the same workspace available across multiple Macs without rebuilding it on each one.

What Counts as a "Workspace" on macOS

Most people think a workspace is just "the apps that are open." That's the easy part. A complete working state includes:

  • Open apps: the specific applications for the task
  • Browser profiles: work Gmail in Chrome, personal in Safari, client-specific in Brave
  • Window geometry: exact size and position per display
  • Window arrangement: half-screen, fullscreen, side-by-side
  • Virtual desktops (Spaces): which desktop each app belongs on
  • Multi-monitor placement: what's on the laptop screen vs. the external display
  • Terminal environment: directory, env vars, AWS profile
  • Cross-device state: same workspace on multiple Macs

macOS handles maybe two of these well. The rest you rebuild by hand, every time.


The Hidden Cost

Three minutes to set up a workspace, five times a day, equals fifteen minutes daily. That's over five hours a month spent dragging windows.

The bigger cost is focus. Every rebuild interrupts the task you actually want to be doing, and recovering from interruption costs more than the clock time alone.

It compounds across machines. A workspace painstakingly built on your iMac doesn't follow you to your MacBook. You either rebuild it or settle for a degraded version.


Why Native macOS Falls Short

Apple gives you a few half-solutions:

  • "Reopen windows when logging back in" opens apps but doesn't restore profiles, layouts, or Space assignments
  • Apple Shortcuts can launch apps but can't reliably set window sizes or browser profiles
  • Spaces exist, but there's no "save this Spaces layout" feature
  • AppleScript works if you want to maintain brittle scripts that break on every macOS update

Each tool covers one slice. None treats the entire state as something worth saving.


Third-Party Solutions Compared

Tool Launches apps Window layout Browser profiles macOS Spaces Multi-Mac sync Terminal env vars Deeplinks
Stay
Spencer
Workspaces partial
Shift Browser
ShiftPlus

A short note on each:

Stay by Cordless Dog is a long-running window-position memory tool. It restores window sizes and positions when you reconnect displays, but it doesn't launch apps and doesn't manage browser profiles. It's now freeware.

Spencer is the closest competitor in scope. It saves window layouts across multiple macOS Spaces, launches apps that aren't running, and hides ones that don't belong. It doesn't handle browser profiles, terminal state, or sync across multiple Macs.

Workspaces by Apptorium is a project-based launcher: it groups apps, files, folders, and URLs into named workspaces and opens them with one click. Because you can add raw URLs to a workspace, you can include macOS URL schemes (e.g. slack://...) as a workaround for deeplinks — but this is manual, not captured automatically. The developers explicitly note it doesn't save window layouts, and it doesn't manage browser profiles or Spaces.

Shift Browser (from Shift Technologies, unrelated to ShiftPlus) is a different category entirely: it's an Electron-based browser shell that integrates 1,500+ web apps and lets you separate accounts within its own UI. It doesn't manage native Mac apps, window layouts, or macOS Spaces.

ShiftPlus was built to fill the gap across all of these: one capture covers apps, window layouts, browser profiles, macOS Space placement, deeplinks, and multi-Mac sync, in a native Mac app. Deeplinks are first-class — open Slack directly to a channel, Spotify to a playlist, or VS Code to a specific project, not just the app's default state.


ShiftPlus: One Capture, Full Restore

Thumbnail

(Tap the thumnail to open youtube video)

Capturing Your Workspace

Arrange your environment, click Capture Current Setup, give it a name. ShiftPlus records the full state in a single profile.

Capturing your current workspace

What gets recorded: each running app, exact window frames per display, the active browser profile in each browser, which Space each app is on, terminal directory and env vars, plus your custom hotkeys and folders.

Click Open Profile later, and the whole state replays in seconds.

Window Arrangements That Survive Different Screens

Saving exact window coordinates works on the same Mac. Move between a 13-inch MacBook and a 27-inch external monitor and a window saved at (100, 200) width 1200 runs off the edge.

ShiftPlus handles this with a window arrangement enum: pick Left Half, Right Half, Top Half, Bottom Half, Fullscreen, or Centered instead of raw pixels. The placement is recomputed on whatever screen you're using.

Window arrangement picker showing layout options

A code editor pinned to Left Half and a terminal to Right Half works on a MacBook screen and on a 4K external display. The intent travels.

Virtual Desktop (Spaces) Restoration

Most workspace tools ignore Spaces because Apple doesn't expose a public API for managing them. ShiftPlus is one of the few that handles them.

Pin specific apps to specific Spaces inside ShiftPlus, save the profile. On restore, ShiftPlus walks through each Space, launches the apps that belong there, then returns to your primary Space. Apps land on the right desktop without manual dragging.

Pinning an app to a specific Space

A typical setup:

  • Space 1: code editor, terminal, dev server
  • Space 2: design tools, reference browser
  • Space 3: Slack, email, calendar

Two limitations to flag: Spaces restoration is incompatible with Stage Manager, and turning off "Automatically rearrange Spaces" in System Settings produces the most reliable behavior. If apps are already running on the wrong Space when you restore, ShiftPlus asks before doing anything disruptive.

iCloud Sync Across Multiple Macs

Sign into the same iCloud account on each Mac, toggle sync on, and your workspaces appear on the other machine within seconds.

iCloud sync settings showing the toggle and status

The interesting design choice is what doesn't sync: window pixel coordinates and monitor identifiers stay local. A position that makes sense on a 4K iMac is meaningless on a 1080p MacBook. ShiftPlus syncs your intent (which apps belong in this workspace, which Space, what arrangement) and lets each Mac compute the actual pixels.

Capture a workspace on your iMac, switch to your MacBook, the workspace is ready.


Setting It Up

  1. Arrange the workspace. Open the apps, switch each browser to the right profile, place windows where you want them.
  2. Capture. Menu bar → Capture Current Setup → name it.
  3. Pin apps to Spaces (optional). Click the Space picker pill on each app.
  4. Set window arrangements (optional). Pick Left Half, Fullscreen, etc., from the dropdown.
  5. Assign a hotkey. Each workspace can have its own keyboard shortcut.
  6. Enable iCloud sync (if you have multiple Macs). Settings → iCloud → toggle on.

After setup, switching contexts is one keystroke.


Real-World Examples

Deep Work. Code editor and terminal on Space 1 (Left/Right split), reference browser on Space 2 (Fullscreen). No Slack, no email.

Client Project. Client's Google Workspace profile in Chrome, VS Code with their repo, terminal with the right AWS profile, Slack pointed at their channel. All on Space 1.

Personal. Safari with personal tabs, Messages, Spotify, Photos. Used to switch out of work mode at the end of the day.

Multi-Mac Developer. The same Deep Work profile, captured once on the iMac, synced through iCloud to a MacBook. Each Mac recomputes the actual frames for its own screen.


Closing

Rebuilding your workspace by hand is one of those productivity drains that's easy to underestimate because each instance is small. The aggregate cost is real, and the cognitive cost of the rebuild is bigger than the clock time alone.

A capture-and-restore workflow turns it into a single keystroke. If your work spans browser profiles, virtual desktops, and multiple Macs, the time it saves is more than the time it costs to learn.

If you'd like to try this approach, ShiftPlus is available here.