1
0
Fork 0

Updating 46/middleclickclose to version 31 [2bac2aa].

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-24 19:44:05 +01:00
parent c43e98fb64
commit 45c8870e45
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
17 changed files with 382 additions and 159 deletions

View file

@ -1,24 +1,34 @@
Quick Close in Overview
================
-----------------------
GNOME shell extension for quickly closing apps in the overview.
Gnome shell extension for closing apps in overview with a middle (or other) click.
[![Download from extensions.gnome.org](img/ego.svg)](https://extensions.gnome.org/extension/352/middle-click-to-close-in-overview/)
All credit goes to Paolo Tranquilli (http://cs.unibo.it/~tranquil/en/hacking.html), I've merely
copied its code here to provide Gnome Shell 3.10+ compatibility
## Features
This extension is installable from
https://extensions.gnome.org/extension/352/middle-click-to-close-in-overview/.
- **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.
Otherwise you may
## Building
* download a [zip](https://github.com/p91paul/middleclickclose/archive/master.zip) of this extension
* extract it
* run the following command
```
make install
```
* reload gnome-shell (Alt-F2, r, Enter) -> on Wayland you need to log out and log in again, there is no in-place reload
* activate it through the Gnome Extensions application.
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 submition to
[EGO](https://extensions.gnome.org/).
`make install` can also be used to install the extension for the current user.
## Debugging tips & tricks
- `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.
- `make install`, then `Alt+F2`, `r` and `Enter` allow for quick prototyping under X11.
## Translations
@ -26,4 +36,4 @@ If you're interested in contributing a translation, import the translation templ
`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`
`template.pot` file, run `make pot`.