diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 17:01:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 17:01:53 +0000 |
commit | 3cf8c4a1c4576ec9f32ed8d5c79c6af100af8541 (patch) | |
tree | 6f16bbb0673cb3b98158d222a7f99a8d45eda9c0 /extensions/46/middleclickclose/README.md | |
parent | Adding gnome-shell version 47 in 46/hibernate-status metadata.json. (diff) | |
download | gnome-shell-extensions-extra-3cf8c4a1c4576ec9f32ed8d5c79c6af100af8541.tar.xz gnome-shell-extensions-extra-3cf8c4a1c4576ec9f32ed8d5c79c6af100af8541.zip |
Updating 46/middleclickclose to version 31 [2bac2aa].
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/46/middleclickclose/README.md')
-rw-r--r-- | extensions/46/middleclickclose/README.md | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/extensions/46/middleclickclose/README.md b/extensions/46/middleclickclose/README.md index bfb193b..adcf2f9 100644 --- a/extensions/46/middleclickclose/README.md +++ b/extensions/46/middleclickclose/README.md @@ -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`. |