Repository navigation
GNOME Window Control v10
What's new
wctl workarea [<MONITOR>] [--json]reports a monitor's usable area — the rectangle minus panels and docks, whichwctl monitorsnever gave you. Defaults to the primary monitor.wctl resolve-place [--monitor <N>] <X> <Y> <W> <H> --jsonreports the rectangle a placement resolves to, with no window and nothing moved. Use it to size a window before it exists.--jsononplace,tileandcenterreports the workarea used and the rectangle wctl resolved, so a script can verify a placement by comparing against it instead of recomputing the percentages.--settledonplace,tileandcenterreturns only once the frame has stopped changing, and reports where it stopped.wctl version --jsonreports the extension version GNOME Shell has actually loaded and whether it matches this wctl — so an install the shell has not picked up yet shows as a mismatch instead of looking fine.wctl --timeout <SECONDS>, or$WCTL_TIMEOUT, bounds how long any call waits for GNOME Shell to reply. The default is still 25 s, which is far too long for a command bound to a key.
You must act on
- Upgrade the extension and wctl together.
Move,ResizeandMoveResizeno longer return a success flag; they raise a named D-Bus error instead, so an older wctl cannot read the new reply. On Wayland the extension needs a logout to take effect —wctl version --jsontells you which side of that you are on. - Exit codes now say why a command failed: 2 not found, 3 refused (the frame is pinned by fullscreen, maximize or tiling), 4 timed out, 5 extension unusable. 1 remains the catch-all for usage errors, so a script that only tests for a non-zero status is unaffected.
Fixed
- A geometry command refused because the window was tiled now says so. It used to report "not found", because a bare success flag could not say which failure had happened and the guess could not see tiling at all.
Install
Extension:
gnome-extensions install window-control@carlo9890.github.io_v10.zipLog out and back in (Wayland), or press Alt+F2, type r, Enter (X11), then:
gnome-extensions enable window-control@carlo9890.github.iowctl:
curl -fsSL https://github.com/carlo9890/gnome-window-control/releases/download/v10/install-wctl.sh | bash