Meson is a minimalist GNOME Shell extension designed to do one thing and do it perfectly: center windows.
It calculates the exact center of the current monitor (where the window mostly resides), respecting the system's work area (Top Bar, Dock), and ensures the window title bar is always accessible via safety clamps.
| Category | Description |
|---|---|
| Performance | No animations, no indicators, no background polling. Zero resource usage when idle. |
| Smart Logic | Calculates center based on the Monitor Work Area, automatically excluding panels and docks. |
| Safety | Safety Clamps ensure window title bars never get pushed off-screen, even for windows taller than the display. |
Extension is available here: Meson - Center Window Utility
You'll need following dependencies:
makezip(for packaging)
# Clone repository
git clone https://github.com/szymonwilczek/meson.git
cd meson
# Build and install
make installIf you don't have make installed, you can use the provided script:
./scripts/install.sh- Restart GNOME Shell (Log out/in on Wayland,
Alt+F2->ron X11). - Enable the extension:
gnome-extensions enable meson@szymonwilczek.github.io
Settings can be accessed via the Extensions app.
- Shortcut: Click the row to record a new keybinding (Default:
<Super>c). - Behavior: The extension works instantly upon keypress.
Pull requests are welcome. This project aims to remain minimalist, so feature requests for complex window management (tiling, snapping) might be out of scope.