Watch
1
0
Fork
You've already forked gnome-shell-extension-middleclickclose
0
No description
  • JavaScript 77.2%
  • Makefile 22.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann ee761e81b4
Releasing debian version 37-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-09-17 18:17:12 +02:00
debian Releasing debian version 37-1. 2026-09-17 18:17:12 +02:00
img Adding upstream version 36. 2026-05-10 11:13:21 +02:00
src Merging upstream version 37. 2026-09-17 18:13:53 +02:00
.gitignore Merging upstream version 37. 2026-09-17 18:13:53 +02:00
lib.mk Merging upstream version 37. 2026-09-17 18:13:53 +02:00
LICENSE Adding upstream version 36. 2026-05-10 11:13:21 +02:00
Makefile Merging upstream version 37. 2026-09-17 18:13:53 +02:00
README.md Merging upstream version 37. 2026-09-17 18:13:53 +02:00
typos.toml Adding upstream version 36. 2026-05-10 11:13:21 +02:00

Quick Close in Overview

GNOME shell extension for quickly closing apps in the overview.

Download from extensions.gnome.org

Features

  • Middle click to close: Just hover over the app you want to close in the overview, and middle click. The mouse button that will trigger closing can be adjusted in the settings.
  • Alt+F4 in the overview: When triggering the close action (typically Alt+F4), the keyboard-focused window will be closed. This can be turned off in the settings. The keybind can be changed in Gnome Settings -> Keyboard -> Keyboard Shortcuts -> Close Window shortcut
  • Adjustable rearrange delay: After closing an application, GNOME will wait a bit before rearranging the remaining windows. This extension allows configuring that delay.

Building

Make sure the gnome-extensions executable is available on your PATH (It is typically bundled with gnome-shell).

make pack will build a zip suitable for submission to EGO.

make install will install the extension for the current user.

make install-system will install the extension system-wide (By default, in /usr/local).

Packaging

# Explicitly build extension package (optional)
make pack

# Install system-wide (by default, PREFIX=/usr/local)
make install-system PREFIX="$pkgdir/usr"

For a successful build, ensure these binaries are present:

  • gnome-extensions
  • glib-compile-schemas
  • unzip

Translations

If you're interested in contributing a translation, import the translation template under src/po/template.pot to your favourite po-editing software and create a *.po file under src/po.

To update existing translations after changing the code, run make po.

Debugging

  • journalctl -f --user is your friend.
  • For quick prototyping on wayland, use:
    • On Gnome >=49: make install && dbus-run-session -- gnome-shell --devkit.
    • On Gnome <49: make install && dbus-run-session -- gnome-shell --nested --wayland.
  • Running dbus-run-session -- $SHELL and then make install && gnome-shell [..] inside the spawned shell can make for a much faster debugging cycle.
  • make install, then Alt+F2, r and Enter allow for quick prototyping under X11.