Watch
1
0
Fork
You've already forked gnome-shell-extension-middleclickclose
0
No description
  • JavaScript 93.8%
  • Makefile 6.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann db6fd1fb88
Updating to debhelper 14.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-06-27 09:44:56 +02:00
debian Updating to debhelper 14. 2026-06-27 09:44:56 +02:00
img Adding upstream version 36. 2026-05-10 11:13:21 +02:00
src Adding upstream version 36. 2026-05-10 11:13:21 +02:00
.gitignore Adding upstream version 36. 2026-05-10 11:13:21 +02:00
LICENSE Adding upstream version 36. 2026-05-10 11:13:21 +02:00
Makefile Adding upstream version 36. 2026-05-10 11:13:21 +02:00
README.md Adding upstream version 36. 2026-05-10 11:13:21 +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 focused window will be closed. This can be turned off in the settings.
  • 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 gettext is installed on your system and the gnome-extensions executable is available on your PATH (It is typically bundled with gnome-shell).

Afterwards, simply run make to build a zip suitable for submission to EGO.

make install can also be used to install the extension for the current user.

Packaging

# Build
make pack

# Install
make install-system PREFIX=/usr

For a successful build, these binaries need to be present:

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

Translations

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

To update all existing translations after changing the code, run make po. To regenerate only the template.pot file, run make pot.

Debugging

  • journalctl -f --user is your friend.
  • make install && dbus-run-session -- gnome-shell --nested --wayland allows for quick prototyping without having to log out and back in every single time when running under wayland.
    • For Gnome 49+, this becomes gnome-shell --devkit, which needs mutter-devkit to be installed.
    • Running dbus-run-session -- $SHELL and then make install && gnome-shell --devkit 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.