Ghost Assembly QuickTiler

GNOME Shell extension

QuickTiler

Keyboard-driven zone tiling with a Quick Settings tile, no overlay and no timers.

Press a direction repeatedly and the focused window cycles through the zones on that side — quarters, halves and a center column split into thirds. No overlay, no grid picker, no timers, and a Quick Settings tile that lists every shortcut.

  • GNOME Shell 49–50
  • Seven zones, three keys
  • GPL-3.0-or-later

Install Source on GitHub

01

Overview

QuickTiler places the focused window into zones from the keyboard. Three direction keys cycle through seven zones; there is nothing to drag, no grid to pick from and no layout mode to switch.

Zones by keyboard

Left, right and center each cycle their own zones on every press: quarter and half at the sides, half and two thirds in the middle.

Nothing to go stale

The current zone is read back from the window’s own geometry on every press, so cycling works on windows something else placed.

Focus, swap and monitors

Move focus or exchange places with the neighbor to either side, across monitors, or send a window to the next monitor in the same zone.

Quick Settings tile

Lists every action with the shortcut it holds, so the panel teaches the keyboard. Click it to pause every shortcut at once.

What it holds between keypresses. No timers. While the tile is shown, its actors and one global signal — the display’s focus-window change, so a menu row knows which window to act on. Turn the tile off and it holds nothing but its keybindings and settings watches.

02

Install

Requires GNOME Shell 49 or 50. Requires a GNOME desktop session; window behavior also depends on each application and its minimum size.

From a release

Download the latest release ZIP and install it for your user. xh is a download tool; you can also download the ZIP from GitHub in a browser. Installing compiles the settings schema.

Shell
xh --download GET https://github.com/Ghost-Assembly/quicktiler/releases/latest/download/quicktiler@napalm255.github.io.shell-extension.zip
gnome-extensions install --force quicktiler@napalm255.github.io.shell-extension.zip

Log out and back in so GNOME discovers the extension, then enable it:

Shell
gnome-extensions enable quicktiler@napalm255.github.io

From a clone

Install mise and activate it in your shell. Clone the repository, install its pinned tools, and build and install the same ZIP used for releases:

Shell
git clone https://github.com/Ghost-Assembly/quicktiler.git
cd quicktiler
mise install
mise exec -- just setup
mise exec -- just install

Log out and back in, then run just enable. Run just prefs to open preferences. After updating a loaded extension, start a new session to load its new code; opening preferences does not reload GNOME Shell.

03

Uninstall

Disable and uninstall the extension for your user. These commands preserve saved settings and other user data.

Shell
gnome-extensions disable quicktiler@napalm255.github.io
gnome-extensions uninstall quicktiler@napalm255.github.io

From a clone, just uninstall performs the same steps. Disabling with just disable leaves the extension installed.

04

Zones

Both common ultrawide layouts — 1/4 + 1/2 + 1/4 and 1/2 + 1/2 — are span-merges of the same four-column grid, so QuickTiler has no “current layout” to switch between. It has one flat list of seven zones and three cycles. Pressing a key again moves to the next zone in its cycle and wraps; a window anywhere else enters at the first.

  • Tile left Super+Ctrl+←

    1. left quarter
    2. left half
  • Tile right Super+Ctrl+→

    1. right quarter
    2. right half
  • Tile center Super+Ctrl+↑

    1. center half
    2. top third
    3. bottom two thirds

The center thirds exist for the common arrangement of a video call above a terminal. Maximize is not a zone: it is Mutter’s own maximize, so restoring returns the window to where it was and the rest of GNOME agrees on its state.

Read back, not remembered

Which zone a window is in is read from its geometry on every keypress, within a few pixels for terminals that snap to whole character cells. Nothing is stored per window, so there is no state to leak or go stale. A window too big for a zone — Mutter enlarges it to its minimum size and keeps the zone’s corner — is recognized by that corner, so it keeps cycling instead of starting over on every press.

The gap

The gap (8 pixels by default) is applied by insetting the work area by one gap and splitting each internal boundary, so neighbors end up exactly one gap apart. Each fraction is rounded once, so two zones that share a boundary resolve to the same pixel: no seam between thirds, and no overlap on an odd gap.

05

Quick Settings

The tile sits in the system menu, beside the volume and network controls. It is a QuickMenuToggle in a SystemIndicator, added through addExternalIndicator() so the Shell places it. There is no top bar icon: one that never changes is noise, and there is no status to report between keypresses.

  • Click the tile to pause the shortcuts. Every accelerator is released to whatever else claims it; click again to take them back. The subtitle says which state it is in.
  • Click the arrow for the menu: the four groups — tile, focus, swap and monitor — each row showing the shortcuts it currently holds, then Settings.
  • Click a row to perform it. Rows work while the shortcuts are paused; the pause is about the keyboard only.

Why a row does not read the focused window. Opening the menu takes a Clutter grab, and Mutter’s focus window can be null while it is held. So the tile remembers the last window it saw focused — that is the one global signal it watches — and a row acts on that one, through the same checks as a keypress.

06

Preferences

Open them from the Extensions app, from the tile’s Settings row, or with just prefs from a clone.

Setting Default Notes
Show the tile On Off builds no actor and watches no global signal.
Gap 8 pixels 0 to 200, between windows and at the screen edge.
Keyboard shortcuts On The same pause the tile writes. With the tile hidden, it is the only way back.
Each action See Keyboard Click a row and press the new shortcut. Backspace clears it, Escape cancels.

Assigning a shortcut another QuickTiler action already holds clears it from that action first, whichever order its modifiers are written in. Leaving both set would not work: Mutter registers both and indexes the combination to only one, so the other would show as bound and do nothing.

While it waits for a key, the capture dialog asks the Shell to pass it every key, so a combination that is already bound can still be recorded. The first time, GNOME asks whether to allow that.

07

Keyboard

Every default was checked against the 90 Super accelerators GNOME 50 binds out of the box, so none collide and no GNOME default has to be unbound.

Action Default
Tile left Super+Ctrl+←
Tile right Super+Ctrl+→
Tile center Super+Ctrl+↑
Maximize Super+Ctrl+↓
Focus left Super+[
Focus right Super+]
Swap left Super+Ctrl+[
Swap right Super+Ctrl+]
Move to next monitor Super+Ctrl+M
Move to previous monitor Super+Ctrl+Shift+M

The split is deliberate: Super+Ctrl moves windows, and bare Super+bracket moves focus without touching anything. Change any of them in the preferences window.

Neighbors and monitors

Focus and swap both cross monitors. Frame rectangles are absolute, so the monitor to your right is simply where the windows further right are. Swapping exchanges the two windows’ places; if one of them is maximized, the other is maximized in its place rather than given its size.

Neighbors are strictly horizontal. Two windows sharing a horizontal center — the center top and bottom thirds, for instance — are not neighbors of each other, and there is no vertical navigation yet.

08

Architecture

Every decision is testable off the Shell. The pure modules import nothing — not gi://, not resource:/// — so Vitest runs them on plain Node, and the three files that touch a toolkit only read facts off it and act on the answer.

extension.js is the entry point GNOME Shell loads. It is deliberately thin: it owns a settings object, a QuickTiler and a Panel, and its only real job is pairing each construction with a teardown, so disable() is exactly enable() in reverse.

Pure module Owns
zones.js The zone table, the projection to pixels, matching a window to a zone, and cycling.
windows.js Which windows may be placed and which may take focus. Getting one wrong is silent — the shortcut does nothing and nothing is logged.
neighbors.js The window next to another in a direction. Ties break on Mutter’s stable sequence, because list_windows() has no documented order.
actions.js The one list of actions, shared with the preferences process and checked against the gschema.
shortcuts.js What may be bound, what the capture dialog does with a keypress, and which action already holds a shortcut.
accelerator.js How a shortcut is spelled: <Super><Control>Left becomes Super+Ctrl+←. The Shell has no Gtk, so the menu cannot ask Gtk; the tests check this page against it.
settings.js The names of the settings that are not keybindings, written once.

prefs.js is the only file that touches Adw and Gtk. It runs in its own process, so it may import the pure modules but never the Shell layer.

09

Testing

just test runs the JavaScript suite with Vitest, the shared tooling tests, and any project-specific offline suites. just coverage reports runtime JavaScript and Python tooling coverage, including untested files. Test stubs and generated reports are not runtime source.

just test-docs runs Playwright and axe in Chromium and Firefox: dark and light accessibility checks, keyboard navigation, mobile layout, reduced motion, links, metadata, local assets, and no page JavaScript. Automated accessibility checks still require human review of reading and focus order.

just test-live checks the package and runs isolated GNOME lifecycle checks. It is a separate local check, not proof of compatibility from a hosted runner. Verify each declared GNOME version and complete the project's manual checks before releasing.

Project checks

Recording Mutter stubs model maximized windows, deferred Wayland frame changes, client minimum sizes, and signal lifetimes. The isolated Shell check verifies enable/disable/re-enable and lifetime cleanup. Verify tiling geometry, monitors, minimum sizes, and shortcuts with real applications before release.

10

Packaging

Shell
just build
just pack-check

The output is quicktiler@napalm255.github.io.shell-extension.zip at the repository root, with metadata.json at the archive root. Python's standard library packages the explicit runtimeFiles allowlist in quick-project.json, using stable file order and timestamps.

just pack-check compares both filenames and file contents with GNOME's official packer and validates shipped icons. Docs, tests, dependencies, credentials, downloaded binaries, and development artifacts stay outside the ZIP. Update the runtime allowlist when adding a runtime file.

11

Releasing

Run just ci, just test-live, and the project manual checklist. Set metadata.json version-name and package.json version to the same new version. The GNOME Extensions website assigns the numeric metadata.json version during submission. Update the npm lockfile, regenerate the docs, and commit the reviewed changes to main through a passing pull request.

Create and push a v-prefixed tag for that version. The release workflow verifies the version, main ancestry, and successful required checks for the tagged commit, then attaches its tested ZIP to a GitHub release. It does not upload to extensions.gnome.org; that submission and its review remain manual.

12

Development

mise.toml pins runtime and CLI versions; justfile owns commands; npm owns development dependencies and the lockfile. GNOME libraries come from the host. On image-based Fedora, use the host's available tools or a toolbox/distrobox for missing system packages; do not layer packages onto the OS.

Shell
just setup        # install pinned tools, dependencies, and browsers
just fmt          # format source and configuration
just lint         # verify template, generated docs, source, and schemas
just test         # JavaScript, Python, and project offline tests
just coverage     # report JavaScript and Python coverage without source exclusions
just test-docs    # Chromium and Firefox documentation checks
just security     # dependencies, secrets, and workflow checks
just build        # build the runtime-only extension ZIP
just pack-check   # compare files and contents with GNOME's packer
just ci           # complete local verification and packaging
just test-live    # isolated GNOME lifecycle and project integration checks
just docs         # serve the static site at localhost:8000
just template-check  # verify the pinned canonical template
just template-status # report a newer approved template revision

GitHub requires local verification, security analysis, and completed Sonar analysis. The shared Sonar policy requires zero security, reliability, and maintainability issues and zero duplicated lines. PR checks cover changed code; main checks cover the entire project. Missing configuration fails instead of silently skipping analysis. Pages publishes the tested docs only after the required checks pass on main.

Common tooling and these instructions are generated from a pinned canonical template. Change that source and synchronize its approved revision; do not edit generated sections or locally bless drift. Extension-specific behavior belongs in project configuration and project.just.