Snap Hover is a GNOME Shell extension that puts snap layouts on a window's maximize button. Rest the pointer on the button and a small panel of layouts opens under it; click a slot and the window moves into that part of the screen. It is free and open source, made by Zorath LLC. For screenshots and a short tour, see the Snap Hover page.
Requirements
- GNOME Shell 46 to 51. Those are the versions the extension declares in its
metadata.json, and GNOME only loads an extension on a version it declares. Ubuntu 24.04 LTS through Ubuntu 26.10 ship versions in that range. To see yours, rungnome-shell --version. - A maximize button in the title bar. Ubuntu shows one by default. On a system that hides it, turn it on in GNOME Tweaks, under Windows > Titlebar Buttons > Maximize.
The button matters because the panel opens from it. Snap Hover reads the order of the title bar buttons from GNOME's settings to know where the maximize button is; see The maximize button.
Install
Snap Hover installs from its source repository today. A listing on extensions.gnome.org is planned. Get the source and run the install script from the repository folder:
git clone https://github.com/zorl-engine/snap-hover.git
cd snap-hover
tools/install-local.shThe script builds the extension's zip file into the dist folder with gnome-extensions pack, then installs that zip for your user with gnome-extensions install --force, which replaces any copy already installed. The extension ends up in ~/.local/share/gnome-shell/extensions/[email protected].
Then sign out and sign back in. A running GNOME Shell on Wayland does not pick up a newly installed extension, so it is loaded at the next sign-in. Once you are back, enable it:
gnome-extensions enable [email protected]To check that it is on, ask GNOME for its details:
gnome-extensions info [email protected]The answer should include Enabled: Yes and State: ACTIVE:
[email protected]
Name: Snap Hover
...
Version: 1.1
Enabled: Yes
State: ACTIVEUsing it
Three steps
- Hover. Rest the pointer on a window's maximize button. After the hover time (see Settings), the panel of layouts opens under the button, centred on the pointer and kept inside the screen.
- Pick a slot. Each layout in the panel is drawn as a set of slots. Click a slot and the window moves into that part of the screen. If the window is maximized, it is restored first.
- Fill the rest. Snap Hover then shows the layout's other slots and offers your other open windows, as small previews, in the next empty slot. Click one to place it there; the next empty slot is offered after it, until the layout is full or no windows are left. A window you pick is restored first if it is maximized, minimized or full screen.
Slots fill the part of the screen that windows may use on that monitor, with the gap from the settings between windows and along the edges.
What closes the panel
- Moving the pointer away from the button and the panel. The panel closes a moment later.
- The window under the panel moving, changing size or closing.
- Starting to drag or resize a window, switching workspace, or opening the overview.
After the panel closes, the button does not open it again until the pointer has left the button once.
What stops the other windows step
- Pressing Escape.
- Clicking anywhere other than a preview.
- One of the offered windows closing.
- A minute passing without a pick. The step holds the keyboard and pointer while it is open, so it ends by itself rather than leave the desktop held.
When the step ends, the last window you placed is brought to the front.
Which windows are offered
The windows offered are the other ordinary windows on the same monitor and the same workspace as the window you placed. Any window that keeps out of the taskbar is left out, and at most twelve are offered at once. If there are none, the step does not start.
Which windows get a panel
Only ordinary windows that can be maximized. Menus, dialogs, full screen windows and windows without a maximize function get no panel. Nothing opens while a mouse button is held down or while the overview is showing.
Layouts
The panel shows eight built-in layouts, four to a row. The slots are listed in the order the other windows step fills them. The identifier is the name the layouts setting stores.
| Layout | Slots | Identifier |
|---|---|---|
| Halves | Left half, right half. | halves |
| Thirds | Three equal columns. | thirds |
| Two thirds and one third | Left two thirds, right third. | wide-left |
| One third and two thirds | Left third, right two thirds. | wide-right |
| Wide centre | A quarter on the left, a half in the centre, a quarter on the right. | centre-wide |
| Half and two quarters | Left half, then the right half split into a top and a bottom quarter. | main-stack |
| Quarters | Top left, top right, bottom left, bottom right. | quarters |
| Four columns | Four equal columns. | four-columns |
Which layouts appear is a setting. The preferences keep them in this order, and at least one stays on: they will not let you turn off the last one.
Settings
Open the preferences from the Extensions app, or run:
gnome-extensions prefs [email protected]The preferences window has three groups: Behaviour, Layouts and Maximize button.
| Setting | What it does | Default |
|---|---|---|
| Hover time | How long the pointer must rest on the maximize button before the panel opens. From 100 to 2000 milliseconds, in steps of 50. | 350 milliseconds |
| Gap between windows | The space left between placed windows and at the screen edge. From 0 to 64 pixels. | 6 pixels |
| Offer other windows | After a window is placed, offer your other open windows for the remaining slots. Turn it off to stop after the first window. | On |
| Layouts | One switch per layout: which layouts the panel shows. | All eight |
| Distance from the window edge | Pixels from the window edge to the centre of the maximize button, from 0 to 400. 0 works it out from the title bar button order. | 0 (worked out) |
| Area width | Width of the area treated as the maximize button. From 16 to 200 pixels. | 38 pixels |
| Area height | Height of that area, measured from the top of the window. From 16 to 120 pixels. | 40 pixels |
| Write decisions to the log | Log what the pointer logic decides. Useful when tuning the button position. | Off |
The first three are in Behaviour, the layout switches in Layouts, and the last four in Maximize button. The settings live under org.gnome.shell.extensions.snap-hover.
Troubleshooting
The panel does not open at all
- Check the extension is on with
gnome-extensions info [email protected]. If it was just installed, sign out and back in first, then run the enable command from Install. - Check the title bar has a maximize button: the button order should include
maximize(see The maximize button). Turn it on in GNOME Tweaks, or set a distance in the preferences. - Check the window is one that gets a panel: dialogs, menus, full screen windows and windows that cannot be maximized get none.
The panel does not open on one application
That application draws its buttons somewhere the area does not cover. Turn on the log and move the pointer slowly along the top of that window, near its buttons, until a line appears: the log only writes when the pointer is inside the area, so resting on the button itself may show nothing. The name in brackets is the window class. Use it as the key in app-overrides and set offset to the distance of the maximize button from the window edge, as in The maximize button.
The panel opens on the wrong button
Adjust "Distance from the window edge" in the preferences until the area sits on the maximize button, or narrow it with "Area width". For one application only, use app-overrides.
The panel opens too soon or too late
Change "Hover time" in the preferences.
Other windows are not offered
- Check that "Offer other windows" is on in the preferences.
- Only windows on the same monitor and workspace as the placed window are offered. Move the windows you want there first.
- A window that keeps out of the taskbar is never offered.
The other windows step closed by itself
It ends after a minute without a pick, and when one of the offered windows closes. Hover the button again to start over.
Updating and removing
Updating
Pull the repository and run the install script again; it replaces the installed copy:
cd snap-hover
git pull
tools/install-local.shThen sign out and back in, so GNOME Shell loads the new version. If gnome-extensions info [email protected] does not show it as enabled, run the enable command again.
Removing
gnome-extensions disable [email protected]
gnome-extensions uninstall [email protected]Uninstalling removes the extension's files. Its settings are kept under /org/gnome/shell/extensions/snap-hover/; to clear them too, run:
dconf reset -f /org/gnome/shell/extensions/snap-hover/Source and licence
Snap Hover is licensed GPL-2.0-or-later. Copyright (C) 2026 Zorath LLC. The source is on GitHub at zorl-engine/snap-hover, and bug reports and pull requests go to its issue tracker. Snap Hover is not affiliated with the GNOME Project.
The checks run from the repository folder with:
tests/run.shThey start a separate, headless GNOME Shell with its own D-Bus session and its own folders, and drive it with a simulated pointer and keyboard. They do not touch the desktop you are signed in to.