Skip to content

About

Your PC, on an infinite canvas. A zoomable, pannable window manager for Windows.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expanse for Windows, zoomed out: six windows on one canvas with their names above them, the one under the pointer ringed, and the Desktops panel and minimap in the bottom-right corner

Every window gets its own place on one endless desktop.
Zoom out to see them all. Click one to glide straight to it.

Download · Install · How to use it · Questions · Expanse for Mac

Windows 11 Free and open source, MIT


Expanse treats your screen as a view onto a much bigger canvas. Your windows stay where you put them on it; you move the view instead of the windows. Rest the pointer in a corner of the screen to see everything at once, then click a window to fly to it, ready to use.

It's Expanse for Mac for Windows, following the same layout rules line for line.

  • See everything at once. Every window, live, laid out the way you arranged it.
  • Move around by direction. Ctrl + Alt + arrow keys hop to the next window to the left, right, above or below.
  • Arrange like a design tool. Drag windows around; they snap into neat, even gaps. New windows open beside the one they came from.
  • At home on a laptop or a big display. On a smaller screen the layout tightens up, columns staying lined up, and plugging back in puts it back exactly.
  • Easy to leave. Pause or quit and every window goes straight back to where it was.

Install

Download the latest version: x64 for most PCs, arm64 for Windows on Arm (Snapdragon laptops, Surface Pro X). Unzip it into a folder of your own, somewhere in your user folder rather than Program Files so Expanse can update itself, and run Expanse.exe. It's a single file with nothing else to install, runs on Windows 11, and keeps itself up to date.

Expanse isn't code-signed yet, so the first time, Windows may say Windows protected your PC: choose More info, then Run anyway.

First launch

There's nothing to grant: Windows lets Expanse move windows and show their pictures as it is. A Welcome window shows the shortcuts and where the hot corner is, and says if another app already uses one of Expanse's keys.

Expanse lives in the tray. Windows 11 tucks new tray icons under ^ on the taskbar: drag Expanse's onto the taskbar to keep it in reach. To start it with Windows, click it, then the gear, and turn on Open Expanse at login.

The basics

Do this To
Rest the pointer in a screen corner, or press Ctrl + Alt + ` Zoom out to every window (do it again to go back)
Click a window Glide to it (and the windows grouped with it) and start using it
Ctrl + Alt + ← → ↑ ↓ Hop to the next window in that direction
Scroll, or pinch Move around the canvas, and zoom
Drag a window while zoomed out Move it; it snaps into place
Drop a window on another's side or corner Tile them into halves and quarters of your screen
Drag a window's edge while zoomed out, or right-click it Resize it; Fill, Half or Quarter screen
T Tidy up: each group of windows lined up and evenly spaced, where it is
Esc Back to 100%, to the window you were in

` is the key below Esc, whatever your keyboard layout.

All shortcuts
Do this To
Ctrl + Alt + C Centre the window you're in
Ctrl + scroll Zoom around the pointer
Shift + scroll Move sideways
Space + drag Move around the canvas
Click empty desktop Zoom out to every window
Scroll on empty desktop Start moving around the canvas from 100%
Click or drag in the minimap Move the view there
Drag on empty canvas, Shift-click, or Ctrl + A Select windows, then drag any of them to move the group
Hold Ctrl while dragging Move without snapping
S With 2 to 4 windows selected, make a screen of them; with none, the screen tool: click a slot and a window, in either order, then Return
Drag the ring round a screen, or the gap between its windows Move the whole screen
Right-click with several selected Same width, same height, same size
Ctrl + Z Undo the last screen or size
0 · 1 · - · = Fit everything · 100% · zoom out · zoom in
Arrow keys · Return Move the highlight · dive into the highlighted window
Hover ×, or Ctrl + W Close the window, or every selected window
Ctrl + Alt + Shift + ` Turn auto-centring on or off (off suits side-by-side work)

Groups of windows stay together. Arrange a few side by side so they fit the screen, and Expanse treats them as one place: a hop, a click or Ctrl + Alt + C shows the whole group, hops between them only move focus, and hovering one zoomed out outlines it.

Virtual desktops each have their windows on the canvas while they're the one you're on. The Desktops panel next to the minimap, at the bottom of the screen, has a tile for each: click one to go there (the one you're on goes back to 100%), or use Win + Ctrl + arrows as usual.

Maximised windows are screen-sized windows on the canvas. One you maximise keeps its top-left where it was and the view moves to it, so the windows above and to its left aren't covered, and restoring it puts the view back. Expanse lets go of the maximise to move one out of view, and maximises it again when you come back to it.

Dialogs stay with their window, and one asking you something while you're zoomed out ("Save changes?") shows over the canvas.

Other monitors are yours. The canvas is the main monitor's, as on the Mac, and windows on the others are left alone; drag one onto the main screen and it joins the canvas where you drop it.

Expanse's panel, opened from the tray icon: a map of the canvas, Centre window and Tidy up, three switches, the hot corner, earlier layouts, and buttons for help, troubleshooting, settings and quit

The tray icon opens a panel with the rest: a live map that opens the canvas, Pause, Centre and Tidy up, which corners to use, earlier layouts to go back to, Welcome & Shortcuts, Troubleshooting (logs for a bug report), and Settings (opening at login, admin windows, the gap between windows, updates).

Prefer less movement? Settings › Glides and zooms can make the view jump straight to where it's going. If Windows' Animation effects are off, Expanse does this by itself.


Questions

Ctrl + Alt + ` or the arrow keys do nothing

Another app got there first. The Welcome window says which shortcut (tray icon › the ? button). Some graphics drivers use Ctrl + Alt + arrows to rotate the screen: turn that off in the driver's settings. Meanwhile, zoom out with a screen corner or the tray icon, and hop with the arrow keys while zoomed out.

Windows says “Windows protected your PC”

That's SmartScreen, because Expanse isn't code-signed yet. Choose More info, then Run anyway. Updates Expanse installs itself don't ask again.

My windows ended up somewhere odd

Tray icon › Earlier layouts: click one to put your windows back the way they were then. Expanse keeps your last three, taken 15 minutes apart as you work (or when you press Take snapshot), and a restore can be undone too: the layout you had becomes the newest earlier one. Tidy up neatens things where they are: windows 80 pixels or more apart count as separate groups, so zones you keep apart stay apart. As a last resort, Restore all windows (beside Take snapshot) brings every window into view, stacked in the middle of the screen.

Some windows won't move (Task Manager, an admin terminal)

Windows doesn't let a program move the windows of one running as administrator, so Expanse leaves those where they are, off the canvas. To have them on it too, turn on Include admin windows in Settings (tray icon, then the gear): Expanse starts again as administrator, without moving anything. Windows asks first, and again each time Expanse starts while it's on.

Something went wrong. How do I report it?
  1. Tray icon › the spanner (Troubleshooting) › turn on Detailed Logging.
  2. Make it happen again.
  3. The spanner › Copy Logs for a Bug Report, then Report an Issue on GitHub… and paste them in, with a line about what you did and what you expected.

The copy says which Windows and Expanse version, your displays and settings, then the log. Window titles are left out. Turn Detailed Logging off again once it's reported.

What does it keep, and what does it send?

Window pictures come straight from Windows' compositor: Expanse never captures, records or sends them. The one network request is a daily update check to GitHub, which you can turn off in Settings. When there's a newer release, Expanse downloads its zip from GitHub and installs it only if it's the file GitHub lists, the right version, and no bigger than a release should be. Expanse's files are in %LOCALAPPDATA%\Expanse: its layouts (window positions and sizes, app names, and a scrambled fingerprint, a hash, of each window's title, which recognises the window without storing the title), its settings, and where your windows were before Expanse moved them, so they can go back. The fingerprint is made with a secret key only your Windows account can read, so the layout file on its own (a copy, a backup) can't even be used to check a guessed title. With Detailed Logging on, its log goes there too (expanse.log, at most 5 MB): what it did with which app's windows, never their titles. It stays on your PC unless you copy it into a bug report yourself. In the registry, Expanse adds its expanse:// link and, with Open at Login on, a startup entry.

What can't it do?
  • One monitor's canvas. Windows on other monitors are left alone, as on the Mac.
  • No typing while zoomed out. There, keys move around the canvas. Click a window, or press Return, to use it.
  • Start, the taskbar and notifications show over the canvas while they're open, as the Dock and notifications do on the Mac.
  • Tested in a virtual machine, on Windows 11 on Arm, with the x64 build under Windows' x64 emulation there. Please open an issue if anything misbehaves on your PC.
How is it different from Expanse for Mac?
  • Ctrl + Alt stands in for ⌃ and ⌥: Ctrl + Alt + ` zooms out, Ctrl + Alt + arrows hop. Zoomed out, Ctrl stands in for ⌘.
  • The tray icon is the menu bar icon, and the Desktops panel, for virtual desktops, is the Spaces panel.
  • Clicking empty desktop still zooms out here: Windows can tell an icon from empty desktop, so icons work and the click isn't lost.
  • Nothing to grant: Windows has no Accessibility or Screen Recording permission to ask for.
  • Maximised windows, dialogs that follow their window, and admin windows are Windows' own, and handled as above.
How do I uninstall it?

Turn off Open Expanse at login in Settings (tray icon, then the gear), then quit with the power button in the panel: your windows go back where they were. Delete Expanse's folder, then its layouts and settings, and its expanse:// link:

Remove-Item -Recurse "$env:LOCALAPPDATA\Expanse"
reg delete HKCU\Software\Classes\expanse /f

For tinkerers

Scripting with expanse:// links

From PowerShell:

start expanse://toggle               # zoom out / back
start expanse://tidy
start "expanse://nav?dir=left"       # left | right | up | down
start expanse://centre               # the window you're in, to the middle
start "expanse://focus?app=Notepad"
start "expanse://layout?snapshot=0"  # back to the newest saved layout (1, 2: older ones)
start expanse://pause                # windows back where they were
start expanse://resume
start expanse://menu                 # the tray icon's panel
start expanse://welcome

Also enter, exit, restore, and zoomed out, fit, zoom?scale=0.5 and pan?dx=100&dy=0.

Scripts and apps run these as they are. A link from a web page runs only after Expanse asks you, since it could move your windows while you type into one.

Building from source

You'll need the .NET 10 SDK.

git clone https://github.com/invig/expanse-windows.git
cd expanse-windows
dotnet run --project src\Expanse -r win-x64    # win-arm64 on Windows on Arm

It's developed from a Mac against a Windows virtual machine; the scripts for that are in scripts/.

Curious how it shows every window live, and how it's tested against the Mac's own code? See How Expanse for Windows works.

Thanks

  • Expanse for Mac, whose layout rules this follows line for line, tested against its own Swift.
  • ADeltaX, whose write-up on DWM's shared thumbnail visuals made the live canvas possible.
  • Vortice.Windows by Amer Koleci (MIT), for DirectComposition and Direct2D from C#.
  • UTM, where Expanse for Windows was built and tested, and the Virtual Display Driver for a second monitor there.

Licence

MIT

About

Your PC, on an infinite canvas. A zoomable, pannable window manager for Windows.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages